dmaengine: omap-dma: Enable burst and data pack for SG
authorMisael Lopez Cruz <misael.lopez@ti.com>
Fri, 16 Sep 2016 10:53:15 +0000 (13:53 +0300)
committerVinod Koul <vinod.koul@intel.com>
Sat, 1 Oct 2016 06:05:27 +0000 (11:35 +0530)
commite7b2acfc79f052d023bf15bb6f82c90166ba74b5
treebe0d0a1f5fd140777a3494ae6ea22187a2e06655
parentd4c77c0532e2eceaccdeeec493b2e39666c97406
dmaengine: omap-dma: Enable burst and data pack for SG

Enable the burst and data pack modes for the scatter-gather
in order to improve the throughput of the data transfers.

The improvement has been verified with MMC HS200 mode in
the DRA72 EVM using the iozone tool to compare the read
throughput (in kB/s) with and without burst/pack for
different reclens (in kB).

                              With
    reclen    Baseline   sDMA burst/pack
    ------    --------   ---------------
       64       46568         50820
      128       57564         63413
      256       65634         74937
      512       72427         83483
     1024       74563         84504
     2048       76265         86079
     4096       78045         87335
     8192       78989         88154
    16384       81265         91034

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c