Skip to content

Commit 001ca74

Browse files
author
Ben Dooks
committed
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>
1 parent 46d0ad3 commit 001ca74

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/arm/mach-s3c64xx/mach-smdk6410.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ static struct s3c_fb_pd_win smdk6410_fb_win0 = {
153153
},
154154
.max_bpp = 32,
155155
.default_bpp = 16,
156+
.virtual_y = 480 * 2,
157+
.virtual_x = 800,
156158
};
157159

158160
/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */

0 commit comments

Comments
 (0)