Problems with MST display (REG_WAIT takes a while or times out)
Submitted by Paul Menzel
Assigned to Default DRI bug account
Link to original bug (#107607)
Description
Created attachment 141169
Linux 4.18+ messages
Using the tiled/MST monitor Dell UP3214Q connected over DisplayPort with the MSI B350M MORTAR (MS-7A37) with the Raven device Ryzen 3 2200G causes problems when switching the inputs of the monitor (two systems are connected).
I believe the monitor firmware is buggy, but the problems do not happen with Microsoft Windows.
[ 2366.214057] [drm] DM_MST: stopping TM on aconnector: 000000009b429054 [id: 51]
[ 2366.214456] [drm] Cannot find any crtc or sizes
[ 2366.214461] [drm] DM_MST: Disabling connector: 000000008d721c89 [id: 56] [master: 000000009b429054]
[ 2366.214594] [drm] DM_MST: Disabling connector: 000000000f6ee0cf [id: 60] [master: 000000009b429054]
[ 2366.214730] [drm] Cannot find any crtc or sizes
[ 2366.282730] [drm:generic_reg_wait [amdgpu]] ERROR REG_WAIT timeout 10us * 3000 tries - enc1_stream_encoder_dp_blank line:804
[ 2366.282785] WARNING: CPU: 0 PID: 13 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 2366.282787] Modules linked in: fuse snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep amdgpu snd_pcm snd_timer r8169 snd crct10dif_pclmul soundcore crc32_pclmul k10temp ghash_clmulni_intel chash gpu_sched i2c_piix4 wmi video crc32c_intel xhci_pci xhci_hcd
[ 2366.282801] CPU: 0 PID: 13 Comm: kworker/0:1 Tainted: G W 4.18.0-08135-g7cfc03071f97 #85 (closed)
[ 2366.282802] Hardware name: MSI MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.G1 05/17/2018
[ 2366.282807] Workqueue: events drm_mode_rmfb_work_fn
[ 2366.282844] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 2366.282846] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 f8 27 5b c0 e8 c4 37 05 db 83 7d 18 01 44 8b 4c 24 08 74 02 <0f>
0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 2366.282848] RSP: 0018:ffffb5e201923a28 EFLAGS: 00010297
[ 2366.282849] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000000
[ 2366.282851] RDX: 0000000000000000 RSI: ffff92509e815508 RDI: ffff92509e815508
[ 2366.282852] RBP: ffff92508d225600 R08: ffffffff9b516e40 R09: 0000000000010200
[ 2366.282853] R10: ffff92509ee28658 R11: ffffffff9c9303cd R12: 0000000000000bb9
[ 2366.282854] R13: 00000000000058cc R14: 0000000000010000 R15: 0000000000000000
[ 2366.282856] FS: 0000000000000000(0000) GS:ffff92509e800000(0000) knlGS:0000000000000000
[ 2366.282857] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2366.282858] CR2: 0000559c01161ef0 CR3: 00000003d62df000 CR4: 00000000003406f0
[ 2366.282859] Call Trace:
[ 2366.282901] enc1_stream_encoder_dp_blank+0x12c/0x1a0 [amdgpu]
[ 2366.282940] core_link_disable_stream+0x54/0x220 [amdgpu]
[ 2366.282981] reset_hw_ctx_wrap+0x241/0x250 [amdgpu]
[ 2366.283020] dce110_apply_ctx_to_hw+0x45/0x650 [amdgpu]
[ 2366.283061] ? dcn10_verify_allow_pstate_change_high+0x1d/0x240 [amdgpu]
[ 2366.283098] dc_commit_state+0x2dc/0x550 [amdgpu]
[ 2366.283140] amdgpu_dm_atomic_commit_tail+0x37a/0xd80 [amdgpu]
[ 2366.283144] ? create_object+0x23e/0x290
[ 2366.283147] ? _cond_resched+0x15/0x30
[ 2366.283148] ? wait_for_completion_timeout+0x3a/0x180
[ 2366.283150] ? wait_for_completion_interruptible+0x35/0x1b0
[ 2366.283153] commit_tail+0x3d/0x70
[ 2366.283155] drm_atomic_helper_commit+0x103/0x110
[ 2366.283157] drm_framebuffer_remove+0x347/0x3c0
[ 2366.283160] drm_mode_rmfb_work_fn+0x4f/0x60
[ 2366.283163] process_one_work+0x19b/0x350
[ 2366.283165] worker_thread+0x30/0x370
[ 2366.283167] ? rescuer_thread+0x320/0x320
[ 2366.283169] kthread+0x112/0x130
[ 2366.283170] ? kthread_create_worker_on_cpu+0x70/0x70
[ 2366.283173] ret_from_fork+0x22/0x40
[ 2366.283174] ---[ end trace 71abef89afed8778 ]---
Attachment 141169, "Linux 4.18+ messages":
20180817â__linux-4.18.0-08135â__dmesg.txt