]> 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)
commit39c0d002f21bd8adea6b0c7d31a8f970351e0dcc
treee62a9e42a2db4de85ce78ea624cbaeb6f9e3d3a3
parenta302f3c00aea89fd7a7103119a25c327b4c9326f
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: befb96e94304 ("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