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>
This commit is contained in:
Ben Dooks 2010-07-26 10:56:40 +01:00
parent 46d0ad3783
commit 001ca74f18
1 changed files with 2 additions and 0 deletions

View File

@ -153,6 +153,8 @@ static struct s3c_fb_pd_win smdk6410_fb_win0 = {
}, },
.max_bpp = 32, .max_bpp = 32,
.default_bpp = 16, .default_bpp = 16,
.virtual_y = 480 * 2,
.virtual_x = 800,
}; };
/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */ /* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */