Skip to contentSkip to conversation

i915: enable AVI infoframe for intel_hdmi.c [v4]

regression Alexey Fisher 3 participants 4 messages Oct 23, 2010

lore
Share & tools
lore
#0 lore raw

I have regression after commit "i915: enable AVI infoframe for intel_hdmi.c [v4]". After boot i get black screen with cursor on top left corner. I can access my pc per ssh.

My HW: Intel DG45ID board, Monitor (iiyama prolite b2409hds) connected on DVI.

xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm

   1920x1080      60.0*+
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DP2 unknown connection (normal left inverted right x axis y axis)
   1360x768       59.8  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  

3c17fe4b8f40a112a85758a9ab2aebf772bdd647 is the first bad commit commit 3c17fe4b8f40a112a85758a9ab2aebf772bdd647

Author: David Härdeman <[email protected]>
Date:   Fri Sep 24 21:44:32 2010 +0200

i915: enable AVI infoframe for intel_hdmi.c [v4]

This patch enables the sending of AVI infoframes in drivers/gpu/drm/i915/intel_hdmi.c.

My receiver currently loses sync when the HDMI output on my computer (DG45FC motherboard) is switched from 800x600 (the BIOS resolution)
to

    1920x1080 as part of the boot. Fixable by switching inputs on the

receiver
a couple of times.

With this patch, my receiver has not lost sync yet (> 40 tries).

Fourth version, now based on drm-intel-next from:
git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git

Two questions still remain:

I'm assuming that the sdvo hardware also stores a header ECC byte in the MSB of the first dword - is this correct?

Does the SDVOB and SDVOC handling in intel_hdmi_set_avi_infoframe() look correct?

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw
Quoted 6 lines · Alexey Fisher

I have regression after commit "i915: enable AVI infoframe for intel_hdmi.c [v4]". After boot i get black screen with cursor on top left corner. I can access my pc per ssh.

My HW: Intel DG45ID board, Monitor (iiyama prolite b2409hds) connected on DVI.

Perhaps the SDVOB and SDVOC handling is wrong? My hardware only has one HDMI port while yours has two (and HDMI2 is connected). I wonder why your DVI port is recognized as HDMI2 though? Chris?

Signature · 1 line
David Härdeman
#2 lore raw
Quoted 11 lines · David Härdeman
Quoted 6 lines · Alexey Fisher

I have regression after commit "i915: enable AVI infoframe for intel_hdmi.c [v4]". After boot i get black screen with cursor on top left corner. I can access my pc per ssh.

My HW: Intel DG45ID board, Monitor (iiyama prolite b2409hds) connected on DVI.

Perhaps the SDVOB and SDVOC handling is wrong? My hardware only has one HDMI port while yours has two (and HDMI2 is connected). I wonder why your DVI port is recognized as HDMI2 though? Chris?

In this case it is more likely that we are feeding an audio signal along a DVI cable to a HDMI-capable monitor that simply isn't expecting the extra data on its DVI connector. The reason why we don't recognise HDMI as DVI is that we simply ignore the VBT which tells us what connectors are actually attached to the HDMI encoders on the chip. (We have a few bugs open due to this already.)

Does 'xrandr --output HDMI2 --set force_audio -1' restore the signal? -Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

Am Samstag, den 23.10.2010, 12:38 +0100 schrieb Chris Wilson:

Quoted 13 lines · David Härdeman
Quoted 11 lines · Alexey Fisher
Quoted 6 lines

I have regression after commit "i915: enable AVI infoframe for intel_hdmi.c [v4]". After boot i get black screen with cursor on top left corner. I can access my pc per ssh.

My HW: Intel DG45ID board, Monitor (iiyama prolite b2409hds) connected on DVI.

Perhaps the SDVOB and SDVOC handling is wrong? My hardware only has one HDMI port while yours has two (and HDMI2 is connected). I wonder why your DVI port is recognized as HDMI2 though? Chris?

Quoted 8 lines

In this case it is more likely that we are feeding an audio signal along a DVI cable to a HDMI-capable monitor that simply isn't expecting the extra data on its DVI connector. The reason why we don't recognise HDMI as DVI is that we simply ignore the VBT which tells us what connectors are actually attached to the HDMI encoders on the chip. (We have a few bugs open due to this already.)

Does 'xrandr --output HDMI2 --set force_audio -1' restore the signal?

ouch... i can't reproduce it anymore. I do not know how to explain it, may be some site effect after bisection before and some configuration bits was not reseted after restart. Now after cold start it just working :/

Regrars,
Alexey.

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx