diff options
author | Annamalai Lakshmanan <annamalai.lakshmanan@linaro.org> | 2012-04-27 14:48:15 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-07-20 14:29:10 +0530 |
commit | 48dbeece0c3d5edafe9ed5c13d286c3490594748 (patch) | |
tree | 71bda3f78bfd8340a6c764110c70625ecf78cc98 | |
parent | d6afc42dcb6aece5c05caec7ea0ae5dc38b3f922 (diff) |
ARM: EXYNOS: Added multiple window support for Origen boardtracking-samslt-fb-ll-20120727.0tracking-samslt-fb-ll-20120723.0
Signed-off-by: Annamalai Lakshmanan <annamalai.lakshmanan@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | arch/arm/mach-exynos/mach-origen.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index f5572be9d7b..043d3c6bd43 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c @@ -607,7 +607,25 @@ static struct s3c_fb_pd_win origen_fb_win0 = { .xres = 1024, .yres = 600, .max_bpp = 32, - .default_bpp = 24, + .default_bpp = 32, + .virtual_x = 1024, + .virtual_y = 2 * 600, +}; + +static struct s3c_fb_pd_win origen_fb_win1 = { + .xres = 1024, + .yres = 600, + .max_bpp = 32, + .default_bpp = 32, + .virtual_x = 1024, + .virtual_y = 2 * 600, +}; + +static struct s3c_fb_pd_win origen_fb_win2 = { + .xres = 1024, + .yres = 600, + .max_bpp = 32, + .default_bpp = 32, .virtual_x = 1024, .virtual_y = 2 * 600, }; @@ -625,6 +643,8 @@ static struct fb_videomode origen_lcd_timing = { static struct s3c_fb_platdata origen_lcd_pdata __initdata = { .win[0] = &origen_fb_win0, + .win[1] = &origen_fb_win1, + .win[2] = &origen_fb_win2, .vtiming = &origen_lcd_timing, .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB, .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC | |