amdgpu: fill_dc_mst_payload_table_from_drm
This happened after resume (Ryzen 6850U):
Feb 16 11:21:14 alpha4 kernel: ------------[ cut here ]------------
Feb 16 11:21:14 alpha4 kernel: WARNING: CPU: 8 PID: 734 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c:188 fill_dc_mst_payload_table_from_drm+0x94/0x140 [amdgpu]
Feb 16 11:21:14 alpha4 kernel: Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq uhid 8021q garp mrp stp llc ccm michael_mic qrtr_mhi cmac algif_hash algif_skcipher af_alg bnep qrtr ath11k_pci ath11k snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_acp63 snd_sof_amd_vangogh hid_sensor_als qmi_helpers r8153_ecm snd_ctl_led snd_sof_amd_rembrandt cdc_ether usbnet snd_sof_amd_renoir hid_sensor_trigger snd_sof_amd_acp industrialio_triggered_buffer mac80211 kfifo_buf snd_sof_pci hid_sensor_iio_common snd_sof_xtensa_dsp intel_rapl_msr industrialio snd_hda_codec_realtek amdgpu snd_hda_scodec_cs35l41_spi libarc4 intel_rapl_common snd_sof snd_hda_codec_generic snd_sof_utils ledtrig_audio snd_hda_codec_hdmi amdxcp snd_usb_audio snd_soc_core drm_exec snd_usbmidi_lib snd_compress gpu_sched snd_ump ac97_bus snd_hda_intel snd_rawmidi snd_pcm_dmaengine drm_buddy snd_intel_dspcfg snd_pci_ps snd_seq_device snd_intel_sdw_acpi i2c_algo_bit snd_rpl_pci_acp6x joydev uvcvideo snd_acp_pci drm_suballoc_helper btusb snd_hda_codec
Feb 16 11:21:14 alpha4 kernel: edac_mce_amd drm_ttm_helper snd_acp_legacy_common videobuf2_vmalloc btrtl ttm btintel uvc snd_hda_core snd_pci_acp6x videobuf2_memops snd_hda_scodec_cs35l41_i2c btbcm kvm_amd mousedev drm_display_helper videobuf2_v4l2 hp_wmi btmtk snd_hwdep snd_pci_acp5x snd_hda_scodec_cs35l41 snd_hda_cs_dsp_ctls bluetooth cfg80211 hid_multitouch sparse_keymap videodev cec ucsi_acpi wmi_bmof hid_sensor_hub snd_rn_pci_acp3x ecdh_generic snd_pcm cs_dsp snd_acp_config kvm video typec_ucsi videobuf2_common snd_timer r8152 sp5100_tco snd_soc_cs35l41_lib snd_soc_acpi rfkill irqbypass mc mii rapl pcspkr typec crc16 snd thunderbolt soundcore k10temp amd_sfh mhi i2c_piix4 snd_pci_acp3x roles wmi i2c_hid_acpi amd_pmf i2c_hid wireless_hotkey platform_profile amd_pmc serial_multi_instantiate acpi_tad mac_hid i2c_dev crypto_user loop fuse nfnetlink ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq vfat fat hid_logitech_hidpp hid_logitech_dj usbhid dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod
Feb 16 11:21:14 alpha4 kernel: crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 serio_raw sha1_ssse3 atkbd aesni_intel libps2 vivaldi_fmap crypto_simd nvme xhci_pci cryptd nvme_core ccp i8042 xhci_pci_renesas nvme_auth serio uas usb_storage
Feb 16 11:21:14 alpha4 kernel: CPU: 8 PID: 734 Comm: Xorg Not tainted 6.7.4-arch1-1 #1 20d30c48b78a04be2046f4b305b40455f0b5b38b
Feb 16 11:21:14 alpha4 kernel: Hardware name: HP HP EliteBook 845 14 inch G9 Notebook PC/8990, BIOS U82 Ver. 01.06.00 07/03/2023
Feb 16 11:21:14 alpha4 kernel: RIP: 0010:fill_dc_mst_payload_table_from_drm+0x94/0x140 [amdgpu]
Feb 16 11:21:14 alpha4 kernel: Code: 09 31 d2 48 89 c1 eb 0b 83 c2 01 48 83 c1 18 39 d6 74 17 40 38 39 75 f0 48 63 ca 31 ff 48 8d 0c 49 66 89 7c cc 28 39 d6 75 22 <0f> 0b eb 1e 0f b7 5a 0c 0f b7 05 ff 97 7e 00 48 8d 0c 76 8a 42 09
Feb 16 11:21:14 alpha4 kernel: RSP: 0018:ffffac5fc3d3f3b8 EFLAGS: 00010246
Feb 16 11:21:14 alpha4 kernel: RAX: ffffac5fc3d3f3e0 RBX: 0000000000000000 RCX: 0000000000000000
Feb 16 11:21:14 alpha4 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffac5fc3d3f460
Feb 16 11:21:14 alpha4 kernel: RBP: ffff98325cf29800 R08: ffffac5fc3d3f564 R09: 0000000000000000
Feb 16 11:21:14 alpha4 kernel: R10: 00000000000000ff R11: ffff983203881800 R12: ffffac5fc3d3f564
Feb 16 11:21:14 alpha4 kernel: R13: ffffac5fc3d3f488 R14: ffff9832ed4e32a0 R15: ffff98321bdb4000
Feb 16 11:21:14 alpha4 kernel: FS: 000071ee75ada9c0(0000) GS:ffff98354ea00000(0000) knlGS:0000000000000000
Feb 16 11:21:14 alpha4 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 16 11:21:14 alpha4 kernel: CR2: 00007029a2f5f650 CR3: 0000000111a8e000 CR4: 0000000000f50ef0
Feb 16 11:21:14 alpha4 kernel: PKRU: 55555554
Feb 16 11:21:14 alpha4 kernel: Call Trace:
Feb 16 11:21:14 alpha4 kernel: <TASK>
Feb 16 11:21:14 alpha4 kernel: ? fill_dc_mst_payload_table_from_drm+0x94/0x140 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? __warn+0x81/0x130
Feb 16 11:21:14 alpha4 kernel: ? fill_dc_mst_payload_table_from_drm+0x94/0x140 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? report_bug+0x171/0x1a0
Feb 16 11:21:14 alpha4 kernel: ? handle_bug+0x3c/0x80
Feb 16 11:21:14 alpha4 kernel: ? exc_invalid_op+0x17/0x70
Feb 16 11:21:14 alpha4 kernel: ? asm_exc_invalid_op+0x1a/0x20
Feb 16 11:21:14 alpha4 kernel: ? fill_dc_mst_payload_table_from_drm+0x94/0x140 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: dm_helpers_dp_mst_write_payload_allocation_table+0xc0/0x110 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: link_set_dpms_off+0x730/0x9a0 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: dcn31_reset_hw_ctx_wrap+0x216/0x410 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: dce110_apply_ctx_to_hw+0x6e/0x710 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dm_read_reg_func+0x3b/0xb0 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? hubbub31_verify_allow_pstate_change_high+0x78/0x170 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dcn10_verify_allow_pstate_change_high+0x39/0x3b0 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dcn10_wait_for_mpcc_disconnect+0x3d/0x160 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: dc_commit_state_no_check+0x3a8/0xe50 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: dc_commit_streams+0x2a9/0x420 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: amdgpu_dm_atomic_commit_tail+0x39a/0x39d0 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dcn31_validate_bandwidth+0x13c/0x300 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dma_resv_get_fences+0x61/0x220
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? dma_resv_get_singleton+0x46/0x140
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? wait_for_completion_timeout+0x133/0x180
Feb 16 11:21:14 alpha4 kernel: commit_tail+0x94/0x130
Feb 16 11:21:14 alpha4 kernel: drm_atomic_helper_commit+0x11a/0x140
Feb 16 11:21:14 alpha4 kernel: drm_atomic_commit+0x9a/0xd0
Feb 16 11:21:14 alpha4 kernel: ? __pfx___drm_printfn_info+0x10/0x10
Feb 16 11:21:14 alpha4 kernel: drm_atomic_connector_commit_dpms+0xce/0xf0
Feb 16 11:21:14 alpha4 kernel: drm_mode_obj_set_property_ioctl+0x197/0x3d0
Feb 16 11:21:14 alpha4 kernel: ? __pfx_drm_connector_property_set_ioctl+0x10/0x10
Feb 16 11:21:14 alpha4 kernel: drm_connector_property_set_ioctl+0x3d/0x60
Feb 16 11:21:14 alpha4 kernel: drm_ioctl_kernel+0xd6/0x180
Feb 16 11:21:14 alpha4 kernel: drm_ioctl+0x26d/0x4b0
Feb 16 11:21:14 alpha4 kernel: ? __pfx_drm_connector_property_set_ioctl+0x10/0x10
Feb 16 11:21:14 alpha4 kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: __x64_sys_ioctl+0x97/0xd0
Feb 16 11:21:14 alpha4 kernel: do_syscall_64+0x64/0xe0
Feb 16 11:21:14 alpha4 kernel: ? __pm_runtime_suspend+0x6f/0xd0
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? amdgpu_drm_ioctl+0x71/0x90 [amdgpu 86195570dd0349beaa25d0ae99677ea65c8e11ea]
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? __x64_sys_ioctl+0xaf/0xd0
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? syscall_exit_to_user_mode+0x2b/0x40
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? do_syscall_64+0x70/0xe0
Feb 16 11:21:14 alpha4 kernel: ? do_syscall_64+0x70/0xe0
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? do_syscall_64+0x70/0xe0
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? syscall_exit_to_user_mode+0x2b/0x40
Feb 16 11:21:14 alpha4 kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Feb 16 11:21:14 alpha4 kernel: ? do_syscall_64+0x70/0xe0
Feb 16 11:21:14 alpha4 kernel: ? do_syscall_64+0x70/0xe0
Feb 16 11:21:14 alpha4 kernel: entry_SYSCALL_64_after_hwframe+0x6e/0x76
Feb 16 11:21:14 alpha4 kernel: RIP: 0033:0x71ee764c94ff
Feb 16 11:21:14 alpha4 kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
Feb 16 11:21:14 alpha4 kernel: RSP: 002b:00007ffe8c6305c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Feb 16 11:21:14 alpha4 kernel: RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000071ee764c94ff
Feb 16 11:21:14 alpha4 kernel: RDX: 00007ffe8c630650 RSI: 00000000c01064ab RDI: 0000000000000012
Feb 16 11:21:14 alpha4 kernel: RBP: 00007ffe8c630650 R08: 0000000000000002 R09: 00006451a4f7c350
Feb 16 11:21:14 alpha4 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c01064ab
Feb 16 11:21:14 alpha4 kernel: R13: 0000000000000012 R14: 0000000000000000 R15: 0000000000000000
Feb 16 11:21:14 alpha4 kernel: </TASK>
Feb 16 11:21:14 alpha4 kernel: ---[ end trace 0000000000000000 ]---
Could it be caused by the fact that the suspend was done while connected to an external monitor over USB, while the resume was done with the USB cable unplugged?