diff options
author | wolfgar <stephan.rafin@laposte.net> | 2013-07-10 03:40:39 +0200 |
---|---|---|
committer | John Weber <rjohnweber@gmail.com> | 2013-07-28 23:46:54 -0500 |
commit | 6613cc898309fdd2099cc9bca75d011cb1cb20cb (patch) | |
tree | 21c26343e56892c2eace1732d6e92ff98311664f /arch/arm/mach-mx6/board-wand.c | |
parent | 0c7ccfa705f55c74475029169d43519416dd913d (diff) |
Enable to reserve GPU Memory in higher memory to avoid to shrink DMA zone
(cherry picked from commit 26c6d7b49f9d59d43ec166a97eb2cb8d519d1441)
Diffstat (limited to 'arch/arm/mach-mx6/board-wand.c')
-rw-r--r-- | arch/arm/mach-mx6/board-wand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-wand.c b/arch/arm/mach-mx6/board-wand.c index 2fa4f21fac25..0f8ed57effc2 100644 --- a/arch/arm/mach-mx6/board-wand.c +++ b/arch/arm/mach-mx6/board-wand.c @@ -1141,7 +1141,7 @@ static void __init wand_reserve(void) { phys_addr_t phys; if (wand_gpu_pdata.reserved_mem_size) { - phys = memblock_alloc_base(wand_gpu_pdata.reserved_mem_size, SZ_4K, SZ_512M); + phys = memblock_alloc_base(wand_gpu_pdata.reserved_mem_size, SZ_4K, 2 * SZ_1G); memblock_remove(phys, wand_gpu_pdata.reserved_mem_size); wand_gpu_pdata.reserved_mem_base = phys; } |