diff options
author | wolfgar <stephan.rafin@laposte.net> | 2013-07-15 00:54:59 +0200 |
---|---|---|
committer | John Weber <rjohnweber@gmail.com> | 2013-07-28 23:47:25 -0500 |
commit | 8087f87d462b63c6977bf8d9cd3a5ea1fce748b3 (patch) | |
tree | aa3980bf09b8fc0882df624e7a7a2ece80445a33 | |
parent | b460a16de73ac6576cd7a80b0d0099f8afed29d0 (diff) | |
download | linux-8087f87d462b63c6977bf8d9cd3a5ea1fce748b3.tar.gz |
Use 2GiB constant as memory limit for GPU
(cherry picked from commit 1c1fd4c1721b3c778a583c41daaf6eaef86fc2f4)
-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 1a42ff05e02a..ded741c5bc16 100644 --- a/arch/arm/mach-mx6/board-wand.c +++ b/arch/arm/mach-mx6/board-wand.c @@ -1142,7 +1142,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, 2 * SZ_1G); + phys = memblock_alloc_base(wand_gpu_pdata.reserved_mem_size, SZ_4K, SZ_2G); memblock_remove(phys, wand_gpu_pdata.reserved_mem_size); wand_gpu_pdata.reserved_mem_base = phys; } |