diff options
author | Sia Jee Heng | 2021-01-25 09:32:47 +0800 |
---|---|---|
committer | Vinod Koul | 2021-02-01 15:08:15 +0530 |
commit | 8e55444da65c01143082a7d1ed08dfeeec7c244b (patch) | |
tree | 275feeb0b71bc0bcaf13f8a49142554ec1a0d18c /block/partitions | |
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 <jee.heng.sia@intel.com>
Tested-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Link: https://lore.kernel.org/r/20210125013255.25799-10-jee.heng.sia@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions