From 22a1cc6ef8c82c485136be49eeca90777e8ac85c Mon Sep 17 00:00:00 2001 From: Jorge Zapata Date: Thu, 19 Feb 2009 16:42:54 +0100 Subject: Import part of Thomas White DRM tree: Handle new memory layout. The "not-needed" memory should not be taken by the framebuffer driver. Use that for the DRM driver. Add the cmdq platform device Set aside 4k for hardware cursor, reject cursors that don't fit. --- arch/arm/mach-s3c2442/mach-gta02.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index e1f8b9b2fd6..d469d033afd 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c @@ -1397,7 +1397,8 @@ static struct glamofb_platform_data gta02_glamo_pdata = { .lower_margin = 16, .hsync_len = 8, .vsync_len = 2, - .fb_mem_size = 0x400000, /* glamo has 8 megs of SRAM. we use 4 */ + //.fb_mem_size = 0x400000, /* glamo has 8 megs of SRAM. we use 4 */ + .fb_mem_size = 0x12c000, /* 640 x 480 x 4 = 1200 kiB */ .xres = { .min = 240, .max = 640, -- cgit v1.2.3