summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2010-05-11 22:08:02 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-06-30 12:53:44 +0200
commitb4a1ead97750cebad9c332309139025ad2bad0a0 (patch)
treec811313cee6b4169783d3fe1e5145deeba1db212
parent139350bc563a63c21c9d07587092586f07c20b70 (diff)
ENGR00123325-1 Increase DMA zone to 96M on mx5x
Increase DMA zone to 96M to fix memory not enough issue with 1080p video playback. Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
-rw-r--r--arch/arm/plat-mxc/Kconfig2
-rw-r--r--arch/arm/plat-mxc/include/mach/memory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index 3f496189fcd9..8b516870c0d2 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -87,7 +87,7 @@ config MXC_FB_IRAM
config DMA_ZONE_SIZE
int "DMA memory zone size"
- range 0 64
+ range 0 96
default 24
help
This is the size in MB for the DMA zone. The DMA zone is used for
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index c9609c4670f7..3861342d1be0 100644
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -63,7 +63,7 @@
#endif /* CONFIG_MX3_VIDEO */
#ifdef CONFIG_ARCH_MX5
-#define CONSISTENT_DMA_SIZE (64 * SZ_1M)
+#define CONSISTENT_DMA_SIZE (96 * SZ_1M)
#else
#define CONSISTENT_DMA_SIZE (32 * SZ_1M)
#endif