]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: at_xdmac: change block increment addressing mode
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 15 Sep 2015 13:36:00 +0000 (15:36 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 01:59:40 +0000 (07:29 +0530)
commit78e501fdb1e44c56dba6f6a6215265bef558a29c
treee62a9e42a2db4de85ce78ea624cbaeb6f9e3d3a3
parent7a14e3a7db44b4572c6af5cc34fac5e8a19e4111
dmaengine: at_xdmac: change block increment addressing mode

The addressing mode we were using was not only incrementing the address at
each microblock, but also at each data boundary, which was severely slowing
the transfer, without any benefit since we were not using the data stride.

Switch to the micro block increment only in order to get back to an
acceptable performance level.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: 22e3124adb70 ("dmaengine: xdmac: Add interleaved transfer support")
Cc: stable@vger.kernel.org #4.2
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c