Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-20 Thread Daniel Vetter
On Mon, May 14, 2012 at 04:55:36PM -0300, Paulo Zanoni wrote: > 2012/5/12 Daniel Vetter : > > The CEA spec has a bunch of very peculiar modes. For backwards > > compatibility it specifies a bunch of modes that are suitable to > > display old SD TV content. But these modes have such low pixel clocks

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-19 Thread Daniel Vetter
On Tue, May 15, 2012 at 11:33:43AM -0400, Adam Jackson wrote: > On 5/14/12 3:43 PM, Paulo Zanoni wrote: > > >Also, I think flag DRM_MODE_FLAG_DBLCLK does not sound correct for > >them, so we would need to create flags: > >- DRM_MODE_FLAG_PR_1_to_10 > >- DRM_MODE_FLAG_PR_1_or_2 > >- DRM_MODE_FLAG_P

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-15 Thread Adam Jackson
On 5/14/12 3:43 PM, Paulo Zanoni wrote: Also, I think flag DRM_MODE_FLAG_DBLCLK does not sound correct for them, so we would need to create flags: - DRM_MODE_FLAG_PR_1_to_10 - DRM_MODE_FLAG_PR_1_or_2 - DRM_MODE_FLAG_PR_1_or_2_or_4 Or any other more creative names. And then we should cross our f

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-14 Thread Paulo Zanoni
2012/5/12 Daniel Vetter : > The CEA spec has a bunch of very peculiar modes. For backwards > compatibility it specifies a bunch of modes that are suitable to > display old SD TV content. But these modes have such low pixel clocks > that pixels need to be doubled to reach the minimal clock of the HD

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-14 Thread Paulo Zanoni
2012/5/14 Paulo Zanoni : > I haven't bothered to even try to fix them since I couldn't find any > TV/Monitor that supports them. Also, I think flag DRM_MODE_FLAG_DBLCLK does not sound correct for them, so we would need to create flags: - DRM_MODE_FLAG_PR_1_to_10 - DRM_MODE_FLAG_PR_1_or_2 - DRM_MOD

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-14 Thread Paulo Zanoni
2012/5/14 Adam Jackson : > > ... right after this are the 2800x480 modes.  Are they really 720, 1440, > or 2880 wide?  Both before and after this change they're 2880 wide, but > the logic of this change makes me believe they should not be. These modes you're talking about (10-15, 25-30, 35-38), ar

Re: [Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-14 Thread Adam Jackson
On Sun, 2012-05-13 at 00:07 +0200, Daniel Vetter wrote: > The problem left is that the CEA spec specifies these modes with > timings as they get transmitted, but because the double-clocking is > just to make the HDMI phy happy, the TV actually drops every 2nd > pixel. So e.g. a 1440x576 mode in ou

[Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-12 Thread Daniel Vetter
The CEA spec has a bunch of very peculiar modes. For backwards compatibility it specifies a bunch of modes that are suitable to display old SD TV content. But these modes have such low pixel clocks that pixels need to be doubled to reach the minimal clock of the HDMI interface. Paulo Zanoni alread

[Intel-gfx] [PATCH 1/2] drm/edid: adjust double-clocked cea modes

2012-05-12 Thread Daniel Vetter
The CEA has a bunch of very peculiar modes. For backwards compatibility is specifies a bunch of resulting that are suitable to display old SD TV content. But these modes have such low pixel clocks that pixels need to be double to reach the minimal clock of the HDMI interface. Paulo Zanoni already