From: Ian Pilcher Subject: Re: Enhancing EDID quirk functionality Date: Tue, 24 Apr 2012 14:00:14 -0500 Message-ID: References: <4F966D5E.2000201@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by gabe.freedesktop.org (Postfix) with ESMTP id 94E1BA0A10 for ; Tue, 24 Apr 2012 12:00:24 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SMkyL-0003Ot-OU for dri-devel@lists.freedesktop.org; Tue, 24 Apr 2012 21:00:21 +0200 Received: from 209.132.181.86 ([209.132.181.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2012 21:00:21 +0200 Received: from arequipeno by 209.132.181.86 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2012 21:00:21 +0200 In-Reply-To: <4F966D5E.2000201@metafoo.de> 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: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 04/24/2012 04:07 AM, Lars-Peter Clausen wrote: > 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]; No change. BTW, I've been grinding ahead with the EDID quirk infrastructure changes that I discussed in my previous note. I'd prefer not to waste huge amounts of my less-than-copious free time, so please speak up if you have any objections. (The preceding paragraph is not specifically directed at Lars-Peter.)