diff options
author | Lily Zhang <r58066@freescale.com> | 2010-04-17 21:18:39 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:20:25 +0200 |
commit | ae011dbc4e94b523cc702d3fc6246e59f7f0bb40 (patch) | |
tree | 229bd9a967160b47c08a26d3733551fa3c5d280e /arch | |
parent | 3fff6407f72c5193b2026bdfbc0dc9c685129c15 (diff) |
ENGR00122632 MX53: Set default GPU memory as 32M
The virtual space of ioremap is reduced after high_memory size is
increased. If GPU uses large memory, ioremap reports error. Before
re-layout the kernel virtual space, set the default GPU memory as
32M to avoid passing command options.
GPU memory can be also adjusted by command options. For example,
the command options "mem=960M gpu_memory=32M" means:
gpu_memory for GPU usage is 32M
fb_mem for X-Acceleration is SZ_1G - <mem> - <gpu_memory> (32M)
Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/mx53_evk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx53_evk.c b/arch/arm/mach-mx5/mx53_evk.c index 104e5f93d6e9..ba96549ae888 100644 --- a/arch/arm/mach-mx5/mx53_evk.c +++ b/arch/arm/mach-mx5/mx53_evk.c @@ -492,7 +492,7 @@ static void __init fixup_mxc_board(struct machine_desc *desc, struct tag *tags, struct tag *mem_tag = 0; int total_mem = SZ_1G; int left_mem = 0; - int gpu_mem = SZ_128M; + int gpu_mem = SZ_32M; int fb_mem = SZ_32M; char *str; |