Enhancing EDID quirk functionality

Ian Pilcher arequipeno at gmail.com
Tue Apr 24 12:00:14 PDT 2012


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.)



More information about the dri-devel mailing list