diff options
author | Sia Jee Heng <[email protected]> | 2021-01-25 09:32:47 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-02-01 15:08:15 +0530 |
commit | 8e55444da65c01143082a7d1ed08dfeeec7c244b (patch) | |
tree | 275feeb0b71bc0bcaf13f8a49142554ec1a0d18c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | b428c6fa41125fdbba36baa92de4e439e04ccfc8 (diff) |
dmaengine: dw-axi-dmac: Support burst residue granularity
Add support for DMA_RESIDUE_GRANULARITY_BURST so that AxiDMA can report
DMA residue.
Existing AxiDMA driver only support data transfer between
memory to memory operation, therefore reporting DMA residue
to the DMA clients is not supported.
Reporting DMA residue to the DMA clients is important as DMA clients
shall invoke dmaengine_tx_status() to understand the number of bytes
been transferred so that the buffer pointer can be updated accordingly.
Signed-off-by: Sia Jee Heng <[email protected]>
Tested-by: Eugeniy Paltsev <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Eugeniy Paltsev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions