summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorHongbo Zhang <hongbo.zhang@freescale.com>2013-12-18 08:44:04 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-02-18 20:50:04 (GMT)
commit9aacc99df540d1e9d8032dae27e740fd0acf1921 (patch)
treea4853dea4d4c98bf558f372a54b51a81db5db3af /drivers/dma
parent33e897f5123f7a656ec847b1870402410fd3cd9e (diff)
downloadlinux-fsl-qoriq-9aacc99df540d1e9d8032dae27e740fd0acf1921.tar.xz
DMA:Freescale: change BWC from 256 bytes to 1024 bytes
Freescale DMA has a feature of BandWidth Control (ab. BWC), which is currently 256 bytes and should be changed to 1024 bytes for best DMA throughput. Changing BWC from 256 to 1024 will improve DMA performance much, in cases whatever one channel is running or multi channels are running simultanously, large or small buffers are copied. And this change doesn't impact memory access performance remarkably, lmbench tests show that for some cases the memory performance are decreased very slightly, while the others are even better. Tested on T4240. Signed-off-by: Hongbo Zhang <hongbo.zhang@freescale.com> Change-Id: Ib488fab0414f49f3ba1cf09328e305743e3a4c73 Reviewed-on: http://git.am.freescale.net:8181/7362 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Scott Wood <scottwood@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/fsldma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.h b/drivers/dma/fsldma.h
index e80a412..ec19517 100644
--- a/drivers/dma/fsldma.h
+++ b/drivers/dma/fsldma.h
@@ -41,7 +41,7 @@
* channel is allowed to transfer before the DMA engine pauses
* the current channel and switches to the next channel
*/
-#define FSL_DMA_MR_BWC 0x08000000
+#define FSL_DMA_MR_BWC 0x0A000000
/* Special MR definition for MPC8349 */
#define FSL_DMA_MR_EOTIE 0x00000080