-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
axi_dmac: Limit number of bursts on the source side
Currently the source side of the DMAC can issue requests for up to 2*FIFO_SIZE-1 bursts even though there is only room for FIFO_SIZE bursts in the store and forward memory. This can problematic for memory mapped buses. If the data is not read fast enough from the DMAC back-pressure will propagate through the whole system memory subsystem and can cause significant performance penalty or even a deadlock halting the whole system. To avoid this make sure that not more that than what fits into the store-and-forward memory is requested by throttling the request ID based on how much room is available in the memory. Signed-off-by: Lars-Peter Clausen <[email protected]>
- Loading branch information
1 parent
d80175d
commit 7d643e2
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters