summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-09-13 13:29:48 +0300
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:34:44 -0700
commitb5815617ebfe1b280f44ba18d825944c1e983011 (patch)
tree1495b01dc3b58b780b629bd6785cdff846b38b95 /arch/arm/mach-tegra
parentfba512f9d126b2c66481aef13e18ef71df6d5c3b (diff)
ARM: Tegra: Increase coherent_pool_size to 1MB from 256KB
Increase coherent_pool_size to 1MB from 256KB. Bug 1048645 Change-Id: I02b256f8e3f296a5e818f03cc9e47330069a0f01 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/132149 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com> Rebase-Id: R7770af3c9d369b345291012a25d1d727987294f4
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 0b9b2047b6ea..c65da4411a81 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -32,9 +32,11 @@
#include <linux/sched.h>
#include <linux/of.h>
#include <linux/pstore_ram.h>
+#include <linux/dma-mapping.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/system.h>
+#include <asm/dma-mapping.h>
#include <mach/hardware.h>
#include <mach/powergate.h>
@@ -512,6 +514,8 @@ void __init tegra30_init_early(void)
tegra_init_debug_uart_rate();
tegra_gpio_resume_init();
tegra_ram_console_debug_reserve(SZ_1M);
+
+ init_dma_coherent_pool_size(SZ_1M);
}
#endif
#ifdef CONFIG_ARCH_TEGRA_11x_SOC
@@ -535,6 +539,8 @@ void __init tegra11x_init_early(void)
tegra_init_ahb_gizmo_settings();
tegra_init_debug_uart_rate();
tegra_gpio_resume_init();
+
+ init_dma_coherent_pool_size(SZ_1M);
}
#endif
static int __init tegra_lp0_vec_arg(char *options)