Failed to updateMST allocation table forpipe idx:0
Submitted by Paul Menzel
Assigned to Default DRI bug account
Link to original bug (#110381)
Description
Created attachment 143918
Linux 5.1-rc4 messages (dmesg)
Using Linux 5.1-rc4, turning off the MST monitor Dell UP3214Q, and back on the next day, nothing was shown, and Linux logged the messages below.
[…]<br>
[108910.142836] [drm] DM_MST: stopping TM on aconnector: 00000000989f4d41 [id: 59]<br>
[108910.142888] [drm] DM_MST: Disabling connector: 0000000082f81687 [id: 70] [master: 00000000989f4d41]<br>
[108910.142922] [drm] DM_MST: Disabling connector: 00000000129f9b45 [id: 84] [master: 00000000989f4d41]<br>
[108973.867216] usb 1-10: USB disconnect, device number 24<br>
[174644.517901] [drm] DM_MST: starting TM on aconnector: 00000000989f4d41 [id: 59]<br>
[174644.541360] [drm] DM_MST: added connector: 000000004c0a3cc0 [id: 89] [master: 00000000989f4d41]<br>
[174644.595463] [drm] SADs count is: -2, don't need to read it<br>
[174644.935425] [drm] DM_MST: added connector: 00000000a88f0665 [id: 112] [master: 00000000989f4d41]<br>
[174645.191251] [drm] Failed to updateMST allocation table forpipe idx:0<br>
[174645.201033] [drm] SADs count is: -2, don't need to read it<br>
[174645.695078] WARNING: CPU: 2 PID: 404 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2354 update_mst_stream_alloc_table+0x144/0x150 [amdgpu]<br>
[174645.695079] Modules linked in: dm_mod nls_iso8859_1 nls_cp437 vfat fat fuse rpcsec_gss_krb5 nfsv4 nfs 8021q garp stp mrp llc snd_hda_codec_realtek snd_hda_codec_generic i915 amdgpu input_leds led_class chash gpu_sched ttm iosf_mbi x86_pkg_temp_thermal drm_kms_helper kvm_intel drm snd_hda_codec_hdmi kvm snd_hda_intel snd_hda_codec intel_gtt fb_sys_fops wmi_bmof irqbypass snd_hda_core syscopyarea sysfillrect snd_pcm snd_timer sysimgblt snd crc32c_intel video soundcore wmi nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc efivarfs ip_tables x_tables unix ipv6 autofs4<br>
[174645.695091] CPU: 2 PID: 404 Comm: Xorg Kdump: loaded Tainted: G W 5.1.0-rc4.mx64.256 #1<br>
[174645.695091] Hardware name: Dell Inc. Precision 3630 Tower/0NNNCT, BIOS 1.0.4 07/17/2018<br>
[174645.695101] RIP: 0010:update_mst_stream_alloc_table+0x144/0x150 [amdgpu]<br>
[174645.695102] Code: 63 d0 48 83 c2 13 48 c1 e2 04 4d 8b 4c 10 08 4d 8b 54 10 10 4d 89 0c 24 4d 89 54 24 08 39 c1 75 81 e9 67 ff ff ff 31 c0 eb f3 <0f> 0b e9 14 ff ff ff e8 90 45 95 e0 0f 1f 44 00 00 41 55 41 54 49<br>
[174645.695103] RSP: 0018:ffffc900051df6b0 EFLAGS: 00010202<br>
[174645.695103] RAX: 0000000000000002 RBX: ffff88833fc945c0 RCX: 0000000000000000<br>
[174645.695103] RDX: ffffc900051df784 RSI: ffff88844c43b440 RDI: ffffc900051df710<br>
[174645.695104] RBP: ffffc900051df750 R08: ffff888469f16e00 R09: ffff8883bf1a1000<br>
[174645.695104] R10: ffffc900051df768 R11: ffffc900051df6b0 R12: ffff888469f16e00<br>
[174645.695104] R13: ffff88833fc94000 R14: 0000000000000002 R15: ffff888452b6e000<br>
[174645.695105] FS: 00007f9af42199c0(0000) GS:ffff88846c080000(0000) knlGS:0000000000000000<br>
[174645.695105] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br>
[174645.695106] CR2: 00007f9ae44bf000 CR3: 00000002ed2c4001 CR4: 00000000003606e0<br>
[174645.695106] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br>
[174645.695107] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400<br>
[174645.695107] Call Trace:<br>
[174645.695111] ? mutex_lock+0xe/0x30<br>
[174645.695121] ? core_link_enable_stream+0x47a/0x1090 [amdgpu]<br>
[174645.695130] core_link_enable_stream+0x47a/0x1090 [amdgpu]<br>
[174645.695142] dce110_apply_ctx_to_hw+0x3f1/0x480 [amdgpu]<br>
[174645.695154] ? dce110_apply_ctx_for_surface+0x250/0x2b0 [amdgpu]<br>
[174645.695164] dc_commit_state+0x2d6/0x560 [amdgpu]<br>
[174645.695169] ? drm_calc_timestamping_constants+0xe5/0x150 [drm]<br>
[174645.695187] amdgpu_dm_atomic_commit_tail+0x388/0x1960 [amdgpu]<br>
[174645.695204] ? bw_calcs+0x6f8/0x1cd0 [amdgpu]<br>
[174645.695217] ? dce112_validate_bandwidth+0x3e/0x70 [amdgpu]<br>
[174645.695226] ? dc_validate_global_state+0x2d4/0x360 [amdgpu]<br>
[174645.695236] ? amdgpu_bo_pin_restricted+0x68/0x290 [amdgpu]<br>
[174645.695237] ? _cond_resched+0x15/0x40<br>
[174645.695238] ? wait_for_common+0x3d/0x180<br>
[174645.695239] ? _cond_resched+0x15/0x40<br>
[174645.695240] ? wait_for_common+0x3d/0x180<br>
[174645.695257] ? dm_plane_helper_prepare_fb+0x117/0x370 [amdgpu]<br>
[174645.695260] ? commit_tail+0x3d/0x70 [drm_kms_helper]<br>
[174645.695262] commit_tail+0x3d/0x70 [drm_kms_helper]<br>
[174645.695264] drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]<br>
[174645.695266] drm_atomic_helper_set_config+0x80/0x90 [drm_kms_helper]<br>
[174645.695271] drm_mode_setcrtc+0x170/0x6c0 [drm]<br>
[174645.695275] ? drm_mode_getcrtc+0x180/0x180 [drm]<br>
[174645.695279] drm_ioctl_kernel+0x88/0xf0 [drm]<br>
[174645.695281] ? try_to_wake_up+0x214/0x4d0<br>
[174645.695283] drm_ioctl+0x2f8/0x3b0 [drm]<br>
[174645.695287] ? drm_mode_getcrtc+0x180/0x180 [drm]<br>
[174645.695295] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]<br>
[174645.695297] do_vfs_ioctl+0xa4/0x630<br>
[174645.695298] ksys_ioctl+0x3a/0x70<br>
[174645.695299] __x64_sys_ioctl+0x16/0x20<br>
[174645.695300] do_syscall_64+0x48/0x100<br>
[174645.695301] entry_SYSCALL_64_after_hwframe+0x44/0xa9<br>
[174645.695303] RIP: 0033:0x7f9af1d92647<br>
[174645.695303] Code: 00 00 00 48 8b 05 41 58 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 11 58 2c 00 f7 d8 64 89 01 48<br>
[174645.695304] RSP: 002b:00007ffdbd6659a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010<br>
[174645.695305] RAX: ffffffffffffffda RBX: 00007ffdbd6659e0 RCX: 00007f9af1d92647<br>
[174645.695305] RDX: 00007ffdbd6659e0 RSI: 00000000c06864a2 RDI: 000000000000000b<br>
[174645.695305] RBP: 00007ffdbd6659e0 R08: 0000000000000000 R09: 000000000156a8e0<br>
[174645.695306] R10: 00007ffdbd665aa0 R11: 0000000000000246 R12: 00000000c06864a2<br>
[174645.695306] R13: 000000000000000b R14: 0000000000000000 R15: 000000000156a8e0<br>
[174645.695307] ---[ end trace 61acd18b4e2a5a43 ]---<br>
```<br>
<br>
Please find the full log attached.<br>
<br>
**Attachment 143918**, "Linux 5.1-rc4 messages (dmesg)": <br>
[20190410â__linux-5.1-rc4â__messages.txt](/uploads/9720cbdf3a2b07c98960dc0f6962a6cb/20190410â__linux-5.1-rc4â__messages.txt)<br>