[r600 KMS] Hotplug detect does not work for HDMI monitor on Fusion E-350 board
Submitted by Simon Farnsworth
Assigned to Default DRI bug account
Description
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:
[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
00006028 ff0ff012 (-15732718)
When I remove the monitor, I get the following from dmesg and radeonreg:
[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
00006028 ff0ff000 (-15732736)
suggesting that HPD sense bits are being updated correctly by the hardware, but that this isn't resulting in uevents following through.