aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap4_ion.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2011-09-12 11:40:57 -0500
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:56:59 +0200
commit95399f6bdae5f22f87a0168823d7d226d19d1cdb (patch)
treeb545ba7a127c714cdebc093a0cb659e6ebb844c3 /arch/arm/mach-omap2/omap4_ion.c
parent58d65c19184de5d54d6011adb8147141c92e705a (diff)
downloadkernel_samsung_tuna-95399f6bdae5f22f87a0168823d7d226d19d1cdb.zip
kernel_samsung_tuna-95399f6bdae5f22f87a0168823d7d226d19d1cdb.tar.gz
kernel_samsung_tuna-95399f6bdae5f22f87a0168823d7d226d19d1cdb.tar.bz2
omap4: resize ion carveout memories
The ion secure input heap is increased from 30MB to 90MB to support additional use cases such as video editor. The TILER ION heap has been decreaed by 32MB, since 32MB of memory is pre-mapped into TILER page mode, and that memory is coming froma separate pool. These changes are done to match the corresponding memory resizes in the Blaze/Panda/Blaze Table board files. Change-Id: Ief79f482b2eecdff86f4329b453222b05c4cb425 Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap4_ion.c')
-rw-r--r--arch/arm/mach-omap2/omap4_ion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap4_ion.c b/arch/arm/mach-omap2/omap4_ion.c
index 522136c..a86c5c0 100644
--- a/arch/arm/mach-omap2/omap4_ion.c
+++ b/arch/arm/mach-omap2/omap4_ion.c
@@ -21,8 +21,8 @@
#define OMAP4_RAMCONSOLE_START (PLAT_PHYS_OFFSET + SZ_512M)
#define OMAP4_RAMCONSOLE_SIZE SZ_2M
-#define OMAP4_ION_HEAP_SECURE_INPUT_SIZE (SZ_1M * 30)
-#define OMAP4_ION_HEAP_TILER_SIZE SZ_128M
+#define OMAP4_ION_HEAP_SECURE_INPUT_SIZE (SZ_1M * 90)
+#define OMAP4_ION_HEAP_TILER_SIZE (SZ_128M - SZ_32M)
#define OMAP4_ION_HEAP_LARGE_SURFACES_SIZE SZ_32M
#define PHYS_ADDR_SMC_SIZE (SZ_1M * 3)