Bug 1180649 - amdgpu: [drm] Failed to updateMST allocation table forpipe idx:1
amdgpu: [drm] Failed to updateMST allocation table forpipe idx:1
Status: RESOLVED NORESPONSE
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-07 09:24 UTC by Alexander Bergmann
Modified: 2022-02-11 12:03 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (abergmann)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2021-01-07 09:24:19 UTC
My current openSUSE setup is running into problems with the connected displays via USB-C. From time to time the external monitors stop working and my keyboard and webcam LEDs are blinking irregular.

I'm running openSUSE Leap 15.2:

Main hardware components:
- Lenovo ThinkPad T495
- Lenovo ThinkPad Dock Gen2
- 2 Dell monitors
- external keyboard and mouse

[ 6418.378375] [drm] Failed to updateMST allocation table forpipe idx:1
[ 6418.378378] ------------[ cut here ]------------
[ 6418.378590] WARNING: CPU: 2 PID: 3084 at ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2539 core_link_enable_stream+0x820/0x8b0 [amdgpu]
[ 6418.378591] Modules linked in: hid_plantronics snd_usb_audio snd_usbmidi_lib snd_rawmidi cdc_ether usbnet r8152 mii snd_seq_dummy snd_hrtimer snd_seq snd_seq_device fuse ccm af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bpfilter dmi_sysfs bnep xfs uvcvideo v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb btrtl btbcm btintel bluetooth ecdh_generic ecc msr iwlmvm snd_hda_codec_realtek nls_iso8859_1 nls_cp437 edac_mce_amd mac80211 snd_hda_codec_generic vfat kvm_amd ccp fat snd_hda_codec_hdmi libarc4 kvm snd_hda_intel irqbypass snd_hda_codec iwlwifi snd_hda_core snd_hwdep snd_pcm r8169 rtsx_pci_ms
[ 6418.378637]  thinkpad_acpi cfg80211 joydev sp5100_tco efi_pstore snd_timer ledtrig_audio ipmi_devintf realtek wmi_bmof k10temp i2c_piix4 snd_pci_acp3x memstick mmc_block ipmi_msghandler libphy rfkill snd ucsi_acpi typec_ucsi soundcore typec battery ac i2c_scmi button acpi_cpufreq btrfs libcrc32c xor raid6_pq dm_crypt algif_skcipher af_alg hid_generic usbhid amdgpu rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul amd_iommu_v2 crc32c_intel gpu_sched i2c_algo_bit ghash_clmulni_intel ttm aesni_intel drm_kms_helper syscopyarea aes_x86_64 glue_helper crypto_simd sysfillrect sysimgblt xhci_pci fb_sys_fops nvme xhci_hcd cryptd drm ehci_pci ehci_hcd serio_raw usbcore rtsx_pci nvme_core wmi video sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs
[ 6418.378688] CPU: 2 PID: 3084 Comm: X Not tainted 5.3.18-lp152.57-default #1 openSUSE Leap 15.2
[ 6418.378690] Hardware name: LENOVO 20NJS0KQ07/20NJS0KQ07, BIOS R12ET55W(1.25 ) 07/06/2020
[ 6418.378788] RIP: 0010:core_link_enable_stream+0x820/0x8b0 [amdgpu]
[ 6418.378792] Code: 46 a4 00 00 e9 df fc ff ff 49 8b bd a8 00 00 00 e8 15 a5 00 00 48 8b 43 08 e9 2c fd ff ff 48 c7 c7 08 81 a2 c0 e8 7e 9c 7b ed <0f> 0b e9 fa fd ff ff 48 8b 83 10 01 00 00 48 8d 55 ac 88 4d a0 8b
[ 6418.378794] RSP: 0018:ffffb0d90279b720 EFLAGS: 00010282
[ 6418.378796] RAX: 0000000000000024 RBX: ffff9831681a0648 RCX: 0000000000000006
[ 6418.378797] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff983230899a10
[ 6418.378798] RBP: ffffb0d90279b790 R08: 0000000000000837 R09: 0000000000000001
[ 6418.378799] R10: ffffb0d90015fdc8 R11: 0000000000000001 R12: ffff983226420000
[ 6418.378800] R13: ffff983228ee75e0 R14: 0000000000000006 R15: ffff98321d5f5000
[ 6418.378802] FS:  00007f02153f3ec0(0000) GS:ffff983230880000(0000) knlGS:0000000000000000
[ 6418.378803] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6418.378805] CR2: 00007f8058c40000 CR3: 00000003aad1a000 CR4: 00000000003406e0
[ 6418.378806] Call Trace:
[ 6418.378912]  ? dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu]
[ 6418.379007]  dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu]
[ 6418.379112]  ? dcn10_verify_allow_pstate_change_high+0x1d/0x2d0 [amdgpu]
[ 6418.379216]  dc_commit_state+0x2cc/0x5d0 [amdgpu]
[ 6418.379324]  amdgpu_dm_atomic_commit_tail+0x393/0x1e10 [amdgpu]
[ 6418.379335]  ? ktime_get_raw+0x34/0x90
[ 6418.379407]  ? amdgpu_bo_pin_restricted+0x68/0x290 [amdgpu]
[ 6418.379415]  ? ttm_eu_backoff_reservation+0x5e/0x90 [ttm]
[ 6418.379486]  ? amdgpu_bo_gpu_offset+0x1f/0x90 [amdgpu]
[ 6418.379589]  ? dm_plane_helper_prepare_fb+0x158/0x2a0 [amdgpu]
[ 6418.379596]  ? _cond_resched+0x15/0x40
[ 6418.379599]  ? wait_for_completion_timeout+0x35/0x150
[ 6418.379602]  ? wait_for_completion_interruptible+0x32/0x190
[ 6418.379617]  ? commit_tail+0x3d/0x80 [drm_kms_helper]
[ 6418.379628]  commit_tail+0x3d/0x80 [drm_kms_helper]
[ 6418.379641]  drm_atomic_helper_commit+0x107/0x130 [drm_kms_helper]
[ 6418.379663]  drm_atomic_connector_commit_dpms+0xe5/0xf0 [drm]
[ 6418.379687]  drm_mode_obj_set_property_ioctl+0x19f/0x2e0 [drm]
[ 6418.379712]  ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 6418.379734]  drm_connector_property_set_ioctl+0x3e/0x60 [drm]
[ 6418.379754]  drm_ioctl_kernel+0xac/0xf0 [drm]
[ 6418.379773]  drm_ioctl+0x2eb/0x3b0 [drm]
[ 6418.379796]  ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 6418.379802]  ? ___sys_recvmsg+0xa2/0xe0
[ 6418.379871]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 6418.379878]  do_vfs_ioctl+0xa0/0x680
[ 6418.379883]  ? ep_modify+0x6d/0x150
[ 6418.379886]  ksys_ioctl+0x70/0x80
[ 6418.379889]  __x64_sys_ioctl+0x16/0x20
[ 6418.379894]  do_syscall_64+0x65/0x1f0
[ 6418.379897]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6418.379900] RIP: 0033:0x7f0212cd9ac7
[ 6418.379903] Code: b3 66 90 48 8b 05 d1 13 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 a1 13 2c 00 f7 d8 64 89 01 48
[ 6418.379904] RSP: 002b:00007fff1d436fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 6418.379906] RAX: ffffffffffffffda RBX: 0000563a09792310 RCX: 00007f0212cd9ac7
[ 6418.379907] RDX: 00007fff1d437010 RSI: 00000000c01064ab RDI: 000000000000000c
[ 6418.379908] RBP: 00007fff1d437010 R08: 0000000000000001 R09: 0000000000000009
[ 6418.379909] R10: 0000563a09bdf8b0 R11: 0000000000000246 R12: 00000000c01064ab
[ 6418.379910] R13: 000000000000000c R14: 0000563a09901f10 R15: 0000563a08a2ed00
Comment 1 Alexander Bergmann 2021-01-07 09:25:38 UTC
After 2 minutes the same issue happened again:

[ 6563.214899] ------------[ cut here ]------------
[ 6563.215106] WARNING: CPU: 3 PID: 3084 at ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2539 core_link_enable_stream+0x820/0x8b0 [amdgpu]
[ 6563.215107] Modules linked in: hid_plantronics snd_usb_audio snd_usbmidi_lib snd_rawmidi cdc_ether usbnet r8152 mii snd_seq_dummy snd_hrtimer snd_seq snd_seq_device fuse ccm af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bpfilter dmi_sysfs bnep xfs uvcvideo v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb btrtl btbcm btintel bluetooth ecdh_generic ecc msr iwlmvm snd_hda_codec_realtek nls_iso8859_1 nls_cp437 edac_mce_amd mac80211 snd_hda_codec_generic vfat kvm_amd ccp fat snd_hda_codec_hdmi libarc4 kvm snd_hda_intel irqbypass snd_hda_codec iwlwifi snd_hda_core snd_hwdep snd_pcm r8169 rtsx_pci_ms
[ 6563.215152]  thinkpad_acpi cfg80211 joydev sp5100_tco efi_pstore snd_timer ledtrig_audio ipmi_devintf realtek wmi_bmof k10temp i2c_piix4 snd_pci_acp3x memstick mmc_block ipmi_msghandler libphy rfkill snd ucsi_acpi typec_ucsi soundcore typec battery ac i2c_scmi button acpi_cpufreq btrfs libcrc32c xor raid6_pq dm_crypt algif_skcipher af_alg hid_generic usbhid amdgpu rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul amd_iommu_v2 crc32c_intel gpu_sched i2c_algo_bit ghash_clmulni_intel ttm aesni_intel drm_kms_helper syscopyarea aes_x86_64 glue_helper crypto_simd sysfillrect sysimgblt xhci_pci fb_sys_fops nvme xhci_hcd cryptd drm ehci_pci ehci_hcd serio_raw usbcore rtsx_pci nvme_core wmi video sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs
[ 6563.215202] CPU: 3 PID: 3084 Comm: X Tainted: G        W          5.3.18-lp152.57-default #1 openSUSE Leap 15.2
[ 6563.215203] Hardware name: LENOVO 20NJS0KQ07/20NJS0KQ07, BIOS R12ET55W(1.25 ) 07/06/2020
[ 6563.215302] RIP: 0010:core_link_enable_stream+0x820/0x8b0 [amdgpu]
[ 6563.215306] Code: 46 a4 00 00 e9 df fc ff ff 49 8b bd a8 00 00 00 e8 15 a5 00 00 48 8b 43 08 e9 2c fd ff ff 48 c7 c7 08 81 a2 c0 e8 7e 9c 7b ed <0f> 0b e9 fa fd ff ff 48 8b 83 10 01 00 00 48 8d 55 ac 88 4d a0 8b
[ 6563.215307] RSP: 0018:ffffb0d90279b720 EFLAGS: 00010282
[ 6563.215309] RAX: 0000000000000024 RBX: ffff9831681a0648 RCX: 0000000000000006
[ 6563.215310] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff9832308d9a10
[ 6563.215312] RBP: ffffb0d90279b790 R08: 0000000000000996 R09: 0000000000000001
[ 6563.215313] R10: ffffb0d908147db8 R11: 0000000000000001 R12: ffff983226420000
[ 6563.215314] R13: ffff983228ee75e0 R14: 0000000000000006 R15: ffff9831fd264800
[ 6563.215316] FS:  00007f02153f3ec0(0000) GS:ffff9832308c0000(0000) knlGS:0000000000000000
[ 6563.215317] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6563.215318] CR2: 00007fcbec7a87f0 CR3: 00000003aad1a000 CR4: 00000000003406e0
[ 6563.215319] Call Trace:
[ 6563.215424]  ? dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu]
[ 6563.215505]  dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu]
[ 6563.215568]  ? dcn10_verify_allow_pstate_change_high+0x1d/0x2d0 [amdgpu]
[ 6563.215623]  dc_commit_state+0x2cc/0x5d0 [amdgpu]
[ 6563.215688]  amdgpu_dm_atomic_commit_tail+0x393/0x1e10 [amdgpu]
[ 6563.215698]  ? ktime_get_raw+0x34/0x90
[ 6563.215741]  ? amdgpu_bo_pin_restricted+0x68/0x290 [amdgpu]
[ 6563.215748]  ? ttm_eu_backoff_reservation+0x5e/0x90 [ttm]
[ 6563.215790]  ? amdgpu_bo_gpu_offset+0x1f/0x90 [amdgpu]
[ 6563.215851]  ? dm_plane_helper_prepare_fb+0x158/0x2a0 [amdgpu]
[ 6563.215858]  ? _cond_resched+0x15/0x40
[ 6563.215859]  ? wait_for_completion_timeout+0x35/0x150
[ 6563.215861]  ? wait_for_completion_interruptible+0x32/0x190
[ 6563.215875]  ? commit_tail+0x3d/0x80 [drm_kms_helper]
[ 6563.215881]  commit_tail+0x3d/0x80 [drm_kms_helper]
[ 6563.215889]  drm_atomic_helper_commit+0x107/0x130 [drm_kms_helper]
[ 6563.215911]  drm_atomic_connector_commit_dpms+0xe5/0xf0 [drm]
[ 6563.215926]  drm_mode_obj_set_property_ioctl+0x19f/0x2e0 [drm]
[ 6563.215940]  ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 6563.215951]  drm_connector_property_set_ioctl+0x3e/0x60 [drm]
[ 6563.215961]  drm_ioctl_kernel+0xac/0xf0 [drm]
[ 6563.215971]  drm_ioctl+0x2eb/0x3b0 [drm]
[ 6563.215982]  ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 6563.215986]  ? ___sys_recvmsg+0xa2/0xe0
[ 6563.216019]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 6563.216026]  do_vfs_ioctl+0xa0/0x680
[ 6563.216031]  ? ep_modify+0x6d/0x150
[ 6563.216032]  ksys_ioctl+0x70/0x80
[ 6563.216034]  __x64_sys_ioctl+0x16/0x20
[ 6563.216038]  do_syscall_64+0x65/0x1f0
[ 6563.216041]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6563.216043] RIP: 0033:0x7f0212cd9ac7
[ 6563.216046] Code: b3 66 90 48 8b 05 d1 13 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 a1 13 2c 00 f7 d8 64 89 01 48
[ 6563.216047] RSP: 002b:00007fff1d436fd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 6563.216048] RAX: ffffffffffffffda RBX: 0000563a099122e0 RCX: 00007f0212cd9ac7
[ 6563.216048] RDX: 00007fff1d437010 RSI: 00000000c01064ab RDI: 000000000000000c
[ 6563.216049] RBP: 00007fff1d437010 R08: 0000000000000001 R09: 0000000000000009
[ 6563.216049] R10: 0000563a09c883c0 R11: 0000000000000246 R12: 00000000c01064ab
[ 6563.216050] R13: 000000000000000c R14: 0000563a099123c0 R15: 0000563a08a2ed00
[ 6563.216051] ---[ end trace 2861fb3ea1d6c9fd ]---
Comment 2 Takashi Iwai 2021-01-15 14:20:23 UTC
Does the same problem happen on the recent TW kernel?

SLE15-SP3/Leap15.3 has the DRM code that is based on 5.9.x or later, and the bug might have been fixed there if it's addressed in the recent upstream.
Comment 3 Miroslav Beneš 2022-02-11 12:03:46 UTC
Closing, no response. Feel free to reopen if the issue persists with Leap 15.3. Ideally also providing results with newer kernels (OBS Kernel:HEAD or so).