diff options
author | Alexandru Ardelean <[email protected]> | 2019-06-06 13:45:48 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-06-14 11:22:43 +0530 |
commit | e3923592f80ba93aaa35b8d49b1f0a5b31db6b7f (patch) | |
tree | 0e1764fe94801d60fb40e35d10bb83d69064ba9b /tools/testing/selftests/bpf/prog_tests | |
parent | 09d5b702b0f97dd0768dade7106b6bf7622b1355 (diff) |
dmaengine: axi-dmac: populate residue info for completed xfers
Starting with version 4.2.a, the AXI DMAC controller can report partial
transfers that have been issued.
This change implements computing DMA residue information for transfers,
based on that reported information.
The way this is done, is to dequeue the partial transfers from the FIFO of
partial transfers, store the partial length to the correct segment &
descriptor, and compute the residue before submitting the DMA cookie to the
DMA framework.
Signed-off-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions