* [PATCH] fbdev: modedb: fix CEA modes
@ 2010-11-17 21:06 Arnd Hannemann
2010-11-18 6:05 ` Paul Mundt
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Arnd Hannemann @ 2010-11-17 21:06 UTC (permalink / raw)
To: linux-fbdev
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>
---
drivers/video/modedb.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c
index 9a0ae6c..08b1c21 100644
--- a/drivers/video/modedb.c
+++ b/drivers/video/modedb.c
@@ -305,19 +305,22 @@ const struct fb_videomode cea_modes[64] = {
},
/* #19: 1280x720p@50Hz */
[19] = {
- NULL, 50, 1280, 720, 13468, 220, 440, 20, 5, 40, 5, 0, FB_VMODE_NONINTERLACED, 0,
+ NULL, 50, 1280, 720, 13468, 220, 440, 20, 5, 40, 5,
+ FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED, 0,
},
/* #20: 1920x1080i@50Hz */
[20] = {
- NULL, 50, 1920, 1080, 13480, 148, 528, 15, 5, 528, 5, 0, FB_VMODE_INTERLACED, 0,
+ NULL, 50, 1920, 1080, 13480, 148, 528, 15, 5, 528, 5,
+ FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_INTERLACED, 0,
},
/* #32: 1920x1080p@23.98/24Hz */
[32] = {
- NULL, 24, 1920, 1080, 13468, 148, 638, 36, 4, 44, 5, 0, FB_VMODE_NONINTERLACED, 0,
+ NULL, 24, 1920, 1080, 13468, 148, 638, 36, 4, 44, 5,
+ FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED, 0,
},
/* #35: (2880)x480p4x@59.94/60Hz */
[35] = {
- NULL, 50, 2880, 480, 11100, 240, 64, 30, 9, 248, 6, 0, FB_VMODE_NONINTERLACED, 0,
+ NULL, 60, 2880, 480, 9250, 240, 64, 30, 9, 248, 6, 0, FB_VMODE_NONINTERLACED, 0,
},
};
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] fbdev: modedb: fix CEA modes
2010-11-17 21:06 [PATCH] fbdev: modedb: fix CEA modes Arnd Hannemann
@ 2010-11-18 6:05 ` Paul Mundt
2010-11-18 7:40 ` Guennadi Liakhovetski
2010-11-18 8:13 ` Arnd Hannemann
2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2010-11-18 6:05 UTC (permalink / raw)
To: linux-fbdev
On Wed, Nov 17, 2010 at 10:06:19PM +0100, Arnd Hannemann wrote:
> 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>
Looks ok to me, Guennadi?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] fbdev: modedb: fix CEA modes
2010-11-17 21:06 [PATCH] fbdev: modedb: fix CEA modes Arnd Hannemann
2010-11-18 6:05 ` Paul Mundt
@ 2010-11-18 7:40 ` Guennadi Liakhovetski
2010-11-18 8:13 ` Arnd Hannemann
2 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2010-11-18 7:40 UTC (permalink / raw)
To: linux-fbdev
On Thu, 18 Nov 2010, Paul Mundt wrote:
> On Wed, Nov 17, 2010 at 10:06:19PM +0100, Arnd Hannemann wrote:
> > 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>
>
> Looks ok to me, Guennadi?
In principle - yes, but what about mode #5 - doesn't it also have to be
fixed?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] fbdev: modedb: fix CEA modes
2010-11-17 21:06 [PATCH] fbdev: modedb: fix CEA modes Arnd Hannemann
2010-11-18 6:05 ` Paul Mundt
2010-11-18 7:40 ` Guennadi Liakhovetski
@ 2010-11-18 8:13 ` Arnd Hannemann
2 siblings, 0 replies; 4+ messages in thread
From: Arnd Hannemann @ 2010-11-18 8:13 UTC (permalink / raw)
To: linux-fbdev
Am 18.11.2010 08:40, schrieb Guennadi Liakhovetski:
> On Thu, 18 Nov 2010, Paul Mundt wrote:
>
>> On Wed, Nov 17, 2010 at 10:06:19PM +0100, Arnd Hannemann wrote:
>>> 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>
>> Looks ok to me, Guennadi?
> In principle - yes, but what about mode #5 - doesn't it also have to be
> fixed?
Ah, yes. I missed that. I'll send another version of the patch.
Thanks
Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-18 8:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 21:06 [PATCH] fbdev: modedb: fix CEA modes Arnd Hannemann
2010-11-18 6:05 ` Paul Mundt
2010-11-18 7:40 ` Guennadi Liakhovetski
2010-11-18 8:13 ` Arnd Hannemann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).