[PATCH v3 1/3] dma: Support multiple interleaved frames with non-contiguous memory

Jassi Brar jaswinder.singh at linaro.org
Mon Feb 17 04:57:01 EST 2014


On 15 February 2014 17:30, Srikanth Thokala <sthokal at xilinx.com> wrote:
> The current implementation of interleaved DMA API support multiple
> frames only when the memory is contiguous by incrementing src_start/
> dst_start members of interleaved template.
>
> But, when the memory is non-contiguous it will restrict slave device
> to not submit multiple frames in a batch.  This patch handles this
> issue by allowing the slave device to send array of interleaved dma
> templates each having a different memory location.
>
How fragmented could be memory in your case? Is it inefficient to
submit separate transfers for each segment/frame?
It will help if you could give a typical example (chunk size and gap
in bytes) of what you worry about.

Thanks,
Jassi



More information about the linux-arm-kernel mailing list