diff options
author | Arnd Hannemann <arnd@arndnet.de> | 2010-11-18 04:45:42 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-19 02:56:54 -0500 |
commit | 2006920a18cc9f499e5cccf9e6f1aa9f6120705e (patch) | |
tree | a203df8d59ec2de8892b25fea8009c6621a71f57 /drivers | |
parent | 27d29dc4be07aafae270992f8d6e400f8912a33d (diff) |
fbdev: modedb: fix CEA modes
Some of the modes were missing the correct sync polarities.
This was causing a corrupt or left shifted picture on my TV.
Additionally format #35 had a wrong refresh rate and pixel clock.
This patch fixes those issues.
Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/modedb.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index 9a0ae6ca5427..c3a182581c1f 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c | |||
@@ -289,7 +289,8 @@ const struct fb_videomode cea_modes[64] = { | |||
289 | }, | 289 | }, |
290 | /* #5: 1920x1080i@59.94/60Hz */ | 290 | /* #5: 1920x1080i@59.94/60Hz */ |
291 | [5] = { | 291 | [5] = { |
292 | NULL, 60, 1920, 1080, 13763, 148, 88, 15, 2, 44, 5, 0, FB_VMODE_INTERLACED, 0, | 292 | NULL, 60, 1920, 1080, 13763, 148, 88, 15, 2, 44, 5, |
293 | FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_INTERLACED, 0, | ||
293 | }, | 294 | }, |
294 | /* #7: 720(1440)x480iH@59.94/60Hz */ | 295 | /* #7: 720(1440)x480iH@59.94/60Hz */ |
295 | [7] = { | 296 | [7] = { |
@@ -305,19 +306,22 @@ const struct fb_videomode cea_modes[64] = { | |||
305 | }, | 306 | }, |
306 | /* #19: 1280x720p@50Hz */ | 307 | /* #19: 1280x720p@50Hz */ |
307 | [19] = { | 308 | [19] = { |
308 | NULL, 50, 1280, 720, 13468, 220, 440, 20, 5, 40, 5, 0, FB_VMODE_NONINTERLACED, 0, | 309 | NULL, 50, 1280, 720, 13468, 220, 440, 20, 5, 40, 5, |
310 | FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED, 0, | ||
309 | }, | 311 | }, |
310 | /* #20: 1920x1080i@50Hz */ | 312 | /* #20: 1920x1080i@50Hz */ |
311 | [20] = { | 313 | [20] = { |
312 | NULL, 50, 1920, 1080, 13480, 148, 528, 15, 5, 528, 5, 0, FB_VMODE_INTERLACED, 0, | 314 | NULL, 50, 1920, 1080, 13480, 148, 528, 15, 5, 528, 5, |
315 | FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_INTERLACED, 0, | ||
313 | }, | 316 | }, |
314 | /* #32: 1920x1080p@23.98/24Hz */ | 317 | /* #32: 1920x1080p@23.98/24Hz */ |
315 | [32] = { | 318 | [32] = { |
316 | NULL, 24, 1920, 1080, 13468, 148, 638, 36, 4, 44, 5, 0, FB_VMODE_NONINTERLACED, 0, | 319 | NULL, 24, 1920, 1080, 13468, 148, 638, 36, 4, 44, 5, |
320 | FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED, 0, | ||
317 | }, | 321 | }, |
318 | /* #35: (2880)x480p4x@59.94/60Hz */ | 322 | /* #35: (2880)x480p4x@59.94/60Hz */ |
319 | [35] = { | 323 | [35] = { |
320 | NULL, 50, 2880, 480, 11100, 240, 64, 30, 9, 248, 6, 0, FB_VMODE_NONINTERLACED, 0, | 324 | NULL, 60, 2880, 480, 9250, 240, 64, 30, 9, 248, 6, 0, FB_VMODE_NONINTERLACED, 0, |
321 | }, | 325 | }, |
322 | }; | 326 | }; |
323 | 327 | ||