From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: Enhancing EDID quirk functionality Date: Tue, 24 Apr 2012 11:07:42 +0200 Message-ID: <4F966D5E.2000201@metafoo.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-089.synserver.de (smtp-out-091.synserver.de [212.40.185.91]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B92D9E933 for ; Tue, 24 Apr 2012 02:05:14 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Ian Pilcher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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];