Enhancing EDID quirk functionality
Lars-Peter Clausen
lars at metafoo.de
Tue Apr 24 02:07:42 PDT 2012
On 04/19/2012 09:16 PM, Ian Pilcher wrote:
> Greetings all!
>
> I recently discovered that my nice 1900x1200 display is horribly
> confused by the InfoFrame functionality that was added to the nouveau
> driver in Linux 3.3. Additional testing has shown that it has the same
> problem with the i915 driver and NVIDIA's proprietary driver.
>
I just had a similar issue with a different driver and remembered your post
If the S bits in the infoframe are 0 the display may under- or overscan the
the image (Although the spec says it should behave the same if no infoframe
is present). If it is set to 2 the display should underscan the image, so
I'd be interested to see if the following patch changes the displays
behavior for you.
--- a/drivers/gpu/drm/nouveau/nouveau_hdmi.c
+++ b/drivers/gpu/drm/nouveau/nouveau_hdmi.c
@@ -147,7 +147,7 @@ static void
nouveau_hdmi_video_infoframe(struct drm_encoder *encoder,
struct drm_display_mode *mode)
{
- const u8 Y = 0, A = 0, B = 0, S = 0, C = 0, M = 0, R = 0;
+ const u8 Y = 0, A = 0, B = 0, S = 2, C = 0, M = 0, R = 0;
const u8 ITC = 0, EC = 0, Q = 0, SC = 0, VIC = 0, PR = 0;
const u8 bar_top = 0, bar_bottom = 0, bar_left = 0, bar_right = 0;
u8 frame[20];
More information about the dri-devel
mailing list