[Bug 41561] New: Hotplug detect does not work for HDMI monitor on Fusion E-350 board

2011-10-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41561

   Summary: Hotplug detect does not work for HDMI monitor on
Fusion E-350 board
   Product: DRI
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: simon.farnsworth at onelan.co.uk


Using airlied-drm-fixes kernel as of commit
6777a4f6898a53974ef7fe7ce09ec41fae0f32db with Alex Deucher's patch
"drm/radeon/kms: use hardcoded dig encoder to transmitter mapping for DCE4.1"
on top, I'm not seeing uevents from the kernel when I plug and unplug a HDMI
monitor.

dmesg with drm.debug=0xf shows me the following when I connect a monitor:

# dmesg -c
[15202.939581] [drm:evergreen_irq_process], r600_irq_process start: rptr 5872,
wptr 5888
[15202.939609] [drm:evergreen_irq_process], IH: HPD2
[15203.050597] [drm:radeon_atombios_connected_scratch_regs], DFP1 connected
[15203.050605] [drm:output_poll_execute], [CONNECTOR:15:HDMI-A-1] status
updated from 1 to 1
[15203.052661] [drm:output_poll_execute], [CONNECTOR:17:VGA-1] status updated
from 2 to 2

radeonreg suggests that the HPD sense bit is correctly set

# ./radeonreg regs all | grep 6028 # DC_HPD2_INT_STATUS
6028ff0ff012 (-15732718)

When I remove the monitor, I get the following from dmesg and radeonreg:

# dmesg -c
[15307.075271] [drm:evergreen_irq_process], r600_irq_process start: rptr 5888,
wptr 5904
[15307.075300] [drm:evergreen_irq_process], IH: HPD2
[15307.131727] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid,
remainder is 192
[15307.131733] Raw EDID:
[15307.131738]  3f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131742]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131745]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131749]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131752]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131756]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131759]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131763]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.141965] [drm:radeon_dvi_detect] *ERROR* HDMI-A-1: probed a monitor but
no|invalid EDID
[15307.141975] [drm:radeon_atombios_connected_scratch_regs], DFP1 connected
[15307.141981] [drm:output_poll_execute], [CONNECTOR:15:HDMI-A-1] status
updated from 1 to 1
[15307.144028] [drm:output_poll_execute], [CONNECTOR:17:VGA-1] status updated
from 2 to 2

# ./radeonreg regs all | grep 6028 # DC_HPD2_INT_STATUS
6028ff0ff000 (-15732736)

suggesting that HPD sense bits are being updated correctly by the hardware, but
that this isn't resulting in uevents following through.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 41561] New: Hotplug detect does not work for HDMI monitor on Fusion E-350 board

2011-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41561

   Summary: Hotplug detect does not work for HDMI monitor on
Fusion E-350 board
   Product: DRI
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: simon.farnswo...@onelan.co.uk


Using airlied-drm-fixes kernel as of commit
6777a4f6898a53974ef7fe7ce09ec41fae0f32db with Alex Deucher's patch
drm/radeon/kms: use hardcoded dig encoder to transmitter mapping for DCE4.1
on top, I'm not seeing uevents from the kernel when I plug and unplug a HDMI
monitor.

dmesg with drm.debug=0xf shows me the following when I connect a monitor:

# dmesg -c
[15202.939581] [drm:evergreen_irq_process], r600_irq_process start: rptr 5872,
wptr 5888
[15202.939609] [drm:evergreen_irq_process], IH: HPD2
[15203.050597] [drm:radeon_atombios_connected_scratch_regs], DFP1 connected
[15203.050605] [drm:output_poll_execute], [CONNECTOR:15:HDMI-A-1] status
updated from 1 to 1
[15203.052661] [drm:output_poll_execute], [CONNECTOR:17:VGA-1] status updated
from 2 to 2

radeonreg suggests that the HPD sense bit is correctly set

# ./radeonreg regs all | grep 6028 # DC_HPD2_INT_STATUS
6028ff0ff012 (-15732718)

When I remove the monitor, I get the following from dmesg and radeonreg:

# dmesg -c
[15307.075271] [drm:evergreen_irq_process], r600_irq_process start: rptr 5888,
wptr 5904
[15307.075300] [drm:evergreen_irq_process], IH: HPD2
[15307.131727] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid,
remainder is 192
[15307.131733] Raw EDID:
[15307.131738]  3f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131742]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131745]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131749]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131752]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131756]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131759]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.131763]  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[15307.141965] [drm:radeon_dvi_detect] *ERROR* HDMI-A-1: probed a monitor but
no|invalid EDID
[15307.141975] [drm:radeon_atombios_connected_scratch_regs], DFP1 connected
[15307.141981] [drm:output_poll_execute], [CONNECTOR:15:HDMI-A-1] status
updated from 1 to 1
[15307.144028] [drm:output_poll_execute], [CONNECTOR:17:VGA-1] status updated
from 2 to 2

# ./radeonreg regs all | grep 6028 # DC_HPD2_INT_STATUS
6028ff0ff000 (-15732736)

suggesting that HPD sense bits are being updated correctly by the hardware, but
that this isn't resulting in uevents following through.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel