summaryrefslogtreecommitdiffstats
path: root/tools/memory-model
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-06-06 13:45:48 +0300
committerVinod Koul <vkoul@kernel.org>2019-06-14 11:22:43 +0530
commite3923592f80ba93aaa35b8d49b1f0a5b31db6b7f (patch)
tree0e1764fe94801d60fb40e35d10bb83d69064ba9b /tools/memory-model
parent09d5b702b0f97dd0768dade7106b6bf7622b1355 (diff)
downloadlinux-e3923592f80ba93aaa35b8d49b1f0a5b31db6b7f.tar.bz2
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 <alexandru.ardelean@analog.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/memory-model')
0 files changed, 0 insertions, 0 deletions