Commit 08d08fad authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Ben Dooks

ARM: SMDKC100: fix frame buffer definitions

The definition of the framebuffer parameters was created when s3c-fb.c
driver was patched to support setting the refresh rate directly (commit
600ce1a0). That patch was completely wrong
and was reverted in commit eb29a5cc what breaked the
framebuffer on s5pc100. This patch updates framebuffer definitions to
correct values.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 504d36e9
...@@ -118,8 +118,7 @@ static struct platform_device smdkc100_lcd_powerdev = { ...@@ -118,8 +118,7 @@ static struct platform_device smdkc100_lcd_powerdev = {
static struct s3c_fb_pd_win smdkc100_fb_win0 = { static struct s3c_fb_pd_win smdkc100_fb_win0 = {
/* this is to ensure we use win0 */ /* this is to ensure we use win0 */
.win_mode = { .win_mode = {
.refresh = 70, .pixclock = 1000000000000ULL / ((8+13+3+800)*(7+5+1+480)*80),
.pixclock = (8+13+3+800)*(7+5+1+480),
.left_margin = 8, .left_margin = 8,
.right_margin = 13, .right_margin = 13,
.upper_margin = 7, .upper_margin = 7,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment