HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
Submitted by Rafał Miłecki
Assigned to Default DRI bug account
Link to original bug (#109340)
Description
Created attachment 143092
dmesg
I use following setup:
- HP EliteBook 745 G5 with Ryzen 5 PRO 2500U
- Docking station HP HSTNN-I11X
- Monitor BenQ GW2260 (HDMI and no DisplayPort)
- openSUSE Tumbleweed
- Self compiled kernel 4.20-rc3 from amd-staging-drm-next with patches:
drm/amd/display: Include names of all PP clock types
x86/MCE/AMD: Fix the thresholding machinery initialization order
My problem is that I can't use notebook's HDMI port (visible as DisplayPort-0) after using DisplayPort output of docking station. HDMI detects monitor & gets EDID but xrandr doesn't list any modes.
After booting without docking station & connecting monitor using HDMI port:
DisplayPort-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 60.02
1440x900 60.00
1280x800 59.91
1280x720 60.00 50.00 59.94
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
After connecting docking station & monitor using DP port + HDMI adapter:
[drm] DM_MST: starting TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: added connector: 00000000e1b7686d [id: 90] [master: 00000000651bd996]
[drm] DM_MST: added connector: 0000000078869ed2 [id: 94] [master: 00000000651bd996]
[drm] DM_MST: added connector: 00000000af4e5879 [id: 98] [master: 00000000651bd996]
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
After disconnecting monitor & docking station:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master: 00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master: 00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master: 00000000651bd996]
After connecting monitor using HDMI port:
xrandr: Output DisplayPort-0 is not disconnected but has no modes
(...)
DisplayPort-0 connected (normal left inverted right x axis y axis)
It's a bit weird since HDMI port (DisplayPort-0) seems to detect monitor being connected & can get EDID. Is there some bug with enumerating available models caused by DM_MST / TM?
**Attachment 143092**, "dmesg":
dmesg