aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-07-26 05:56:40 -0400
committerBen Dooks <ben-linux@fluff.org>2010-08-14 11:24:33 -0400
commit001ca74f185f32bd8383146f9ffedd2de9b882ed (patch)
treed99d9174d4e1f77a77b4e114f688a42753b8d834
parent46d0ad37838016e1f7c2cd46ebceb1976e3a3236 (diff)
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>
-rw-r--r--arch/arm/mach-s3c64xx/mach-smdk6410.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index d9a03555f88b..ed9296f678ae 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 = {
153 }, 153 },
154 .max_bpp = 32, 154 .max_bpp = 32,
155 .default_bpp = 16, 155 .default_bpp = 16,
156 .virtual_y = 480 * 2,
157 .virtual_x = 800,
156}; 158};
157 159
158/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */ 160/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */