Commit c9d503e9 authored by Jingoo Han's avatar Jingoo Han Committed by Paul Mundt

video: s3c-fb: correct window osd size offset values

Offset values for OSD size registers of window 1 and 2 are corrected.
The offset values of OSD size registers are as follows:
window0: VIDOSDC (0x8)
window1 and 2: VIDOSDD (0xc)
window3 and 4: not present
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 12e572d9
...@@ -1633,7 +1633,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = { ...@@ -1633,7 +1633,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = {
[1] = { [1] = {
.has_osd_c = 1, .has_osd_c = 1,
.has_osd_d = 1, .has_osd_d = 1,
.osd_size_off = 0x12, .osd_size_off = 0xc,
.has_osd_alpha = 1, .has_osd_alpha = 1,
.palette_sz = 256, .palette_sz = 256,
.valid_bpp = (VALID_BPP1248 | VALID_BPP(16) | .valid_bpp = (VALID_BPP1248 | VALID_BPP(16) |
...@@ -1643,7 +1643,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = { ...@@ -1643,7 +1643,7 @@ static struct s3c_fb_win_variant s3c_fb_data_64xx_wins[] = {
[2] = { [2] = {
.has_osd_c = 1, .has_osd_c = 1,
.has_osd_d = 1, .has_osd_d = 1,
.osd_size_off = 0x12, .osd_size_off = 0xc,
.has_osd_alpha = 1, .has_osd_alpha = 1,
.palette_sz = 16, .palette_sz = 16,
.palette_16bpp = 1, .palette_16bpp = 1,
......
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