From: Ben Dooks <ben-linux@fluff.org>
Date: Mon, 26 Jul 2010 09:56:40 +0000 (+0100)
Subject: ARM: SMDK6410: Make virtual screen twice depth of real
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=001ca74f185f32bd8383146f9ffedd2de9b882ed;p=linux.git

ARM: SMDK6410: Make virtual screen twice depth of real

For situations where double buffering is needed (such as the
current Android) make the screen virtual y size twice the
LCD size so that there is space for a second screen that
can be switched to.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---

diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index d9a03555f88bd..ed9296f678aee 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -153,6 +153,8 @@ static struct s3c_fb_pd_win smdk6410_fb_win0 = {
 	},
 	.max_bpp	= 32,
 	.default_bpp	= 16,
+	.virtual_y	= 480 * 2,
+	.virtual_x	= 800,
 };
 
 /* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */