diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-07-06 12:19:23 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-08-06 05:00:56 +0200 |
commit | 50c7cd2bd3786258606c6c7c8356064c08ab2383 (patch) | |
tree | b5854b21601f6cf912246f6ddd59a30c44836b2c /drivers/dma/at_xdmac.c | |
parent | dmaengine: Add an enum for the dmaengine alignment constraints (diff) | |
download | linux-50c7cd2bd3786258606c6c7c8356064c08ab2383.tar.xz linux-50c7cd2bd3786258606c6c7c8356064c08ab2383.zip |
dmaengine: Add scatter-gathered memset
The current API allows the driver to accelerate memset by using the DMA
controller.
However, it does so over a contiguous memory area, which might proves
inefficient when you have to do it over a non-contiguous yet repititive
pattern, since you have to create a number of descriptors and then submit
each other.
Add a memset operation going over a scatter list to handle such cases in a
single call.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_xdmac.c')
0 files changed, 0 insertions, 0 deletions