5.15.127 mpc2_assert_mpcc_idle_before_connect warning when booting with USB-C dock
Before submitting your bug report:
Brief summary of the problem:
5.15.127 and 5.15.128 always show the following warning on boot, apparently repeated once for each external monitor:
[ 3.862876] ------------[ cut here ]------------
[ 3.862877] WARNING: CPU: 12 PID: 191 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_mpc.c:498 mpc2_assert_mpcc_idle_before_connect+0x19e/0x200 [amdgpu]
[ 3.863078] Modules linked in: usbhid(E) dm_crypt(E) uas(E) usb_storage(E) amdgpu(E) drm_ttm_helper(E) ttm(E) iommu_v2(E) gpu_sched(E) i2c_algo_bit(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) cec(E) crct10dif_pclmul(E) crc32_pclmul(E) nvme(E) ghash_clmulni_intel(E) xhci_pci(E) rc_core(E) hid_generic(E) aesni_intel(E) crypto_simd(E) cryptd(E) drm(E) amd_sfh(E) i2c_piix4(E) nvme_core(E) xhci_pci_renesas(E) i2c_hid_acpi(E) i2c_hid(E) hid(E)
[ 3.863108] CPU: 12 PID: 191 Comm: kworker/12:1 Tainted: G E 5.15.127 #658
[ 3.863111] Hardware name: HP HP Pavilion Aero Laptop 13-be0xxx/8916, BIOS F.12 04/11/2023
[ 3.863112] Workqueue: events_long drm_dp_mst_link_probe_work [drm_kms_helper]
[ 3.863125] RIP: 0010:mpc2_assert_mpcc_idle_before_connect+0x19e/0x200 [amdgpu]
[ 3.863277] Code: ff 75 27 8b 75 c8 85 f6 74 24 8b 4d cc 85 c9 0f 85 75 ff ff ff 0f 0b e9 6e ff ff ff 0f 0b e9 5c ff ff ff 0f 0b e9 60 ff ff ff <0f> 0b eb d5 0f 0b eb d8 4c 89 e6 48 c7 c7 80 b8 b8 c0 48 89 45 a8
[ 3.863279] RSP: 0018:ffffb80dc0967648 EFLAGS: 00010202
[ 3.863281] RAX: 0000000000000002 RBX: ffff9a5d8f9a0000 RCX: 0000000000000000
[ 3.863283] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
[ 3.863284] RBP: ffffb80dc09676a0 R08: 0000000000000000 R09: 0000000000000000
[ 3.863285] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
[ 3.863286] R13: 0000000000000001 R14: 0000000000000002 R15: 0000000000000004
[ 3.863287] FS: 0000000000000000(0000) GS:ffff9a608e900000(0000) knlGS:0000000000000000
[ 3.863289] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.863290] CR2: 00007f451157f1f3 CR3: 000000017cc10000 CR4: 0000000000750ee0
[ 3.863292] PKRU: 55555554
[ 3.863293] Call Trace:
[ 3.863295] <TASK>
[ 3.863297] ? show_regs.cold+0x1a/0x1f
[ 3.863301] ? __warn+0x88/0x120
[ 3.863305] ? mpc2_assert_mpcc_idle_before_connect+0x19e/0x200 [amdgpu]
[ 3.863448] ? report_bug+0xb6/0xf0
[ 3.863452] ? handle_bug+0x38/0x90
[ 3.863455] ? exc_invalid_op+0x18/0x80
[ 3.863457] ? asm_exc_invalid_op+0x1b/0x20
[ 3.863461] ? mpc2_assert_mpcc_idle_before_connect+0x19e/0x200 [amdgpu]
[ 3.863601] dcn20_update_mpcc+0x249/0x290 [amdgpu]
[ 3.863742] dcn20_program_front_end_for_ctx+0x918/0x1230 [amdgpu]
[ 3.863879] ? __x86_return_thunk+0x5/0x6
[ 3.863883] ? optc1_lock+0xd7/0x100 [amdgpu]
[ 3.864027] dc_commit_state_no_check+0x4ec/0x1090 [amdgpu]
[ 3.864133] dc_commit_state+0xe1/0x170 [amdgpu]
[ 3.864216] ? __x86_return_thunk+0x5/0x6
[ 3.864218] amdgpu_dm_atomic_commit_tail+0x5fe/0x2db0 [amdgpu]
[ 3.864313] ? dcn20_calculate_dlg_params+0x607/0x8f0 [amdgpu]
[ 3.864405] ? dcn21_validate_bandwidth_fp+0x12e/0xb10 [amdgpu]
[ 3.864493] ? __x86_return_thunk+0x5/0x6
[ 3.864495] ? kfree+0x20b/0x260
[ 3.864499] ? __x86_return_thunk+0x5/0x6
[ 3.864502] ? __x86_return_thunk+0x5/0x6
[ 3.864503] ? dc_fpu_end+0x98/0xa0 [amdgpu]
[ 3.864592] ? __x86_return_thunk+0x5/0x6
[ 3.864594] ? dcn21_validate_bandwidth+0x48/0x60 [amdgpu]
[ 3.864681] ? __x86_return_thunk+0x5/0x6
[ 3.864683] ? dc_validate_global_state+0x33d/0x4f0 [amdgpu]
[ 3.864767] ? __x86_return_thunk+0x5/0x6
[ 3.864769] ? drm_dp_mst_atomic_check+0x166/0x200 [drm_kms_helper]
[ 3.864778] ? __x86_return_thunk+0x5/0x6
[ 3.864779] ? __cond_resched+0x1a/0x60
[ 3.864781] ? __x86_return_thunk+0x5/0x6
[ 3.864783] ? __wait_for_common+0x3e/0x160
[ 3.864784] ? __x86_return_thunk+0x5/0x6
[ 3.864786] ? usleep_range_state+0xa0/0xa0
[ 3.864788] ? __x86_return_thunk+0x5/0x6
[ 3.864790] ? wait_for_completion_timeout+0x1d/0x30
[ 3.864791] ? __x86_return_thunk+0x5/0x6
[ 3.864794] commit_tail+0xc2/0x190 [drm_kms_helper]
[ 3.864801] ? __x86_return_thunk+0x5/0x6
[ 3.864802] ? drm_atomic_helper_swap_state+0x20f/0x380 [drm_kms_helper]
[ 3.864809] drm_atomic_helper_commit+0x11d/0x150 [drm_kms_helper]
[ 3.864816] drm_atomic_commit+0x4a/0x60 [drm]
[ 3.864831] drm_client_modeset_commit_atomic+0x1fd/0x240 [drm]
[ 3.864844] drm_client_modeset_commit_locked+0x5b/0x170 [drm]
[ 3.864854] ? mutex_lock+0x12/0x50
[ 3.864856] drm_client_modeset_commit+0x26/0x50 [drm]
[ 3.864866] __drm_fb_helper_restore_fbdev_mode_unlocked+0xc2/0x100 [drm_kms_helper]
[ 3.864873] drm_fb_helper_set_par+0x3d/0x60 [drm_kms_helper]
[ 3.864879] drm_fb_helper_hotplug_event+0xe7/0x100 [drm_kms_helper]
[ 3.864886] drm_fb_helper_output_poll_changed+0x15/0x20 [drm_kms_helper]
[ 3.864893] drm_kms_helper_hotplug_event+0x2a/0x40 [drm_kms_helper]
[ 3.864900] drm_dp_mst_link_probe_work+0x172/0x1a0 [drm_kms_helper]
[ 3.864907] process_one_work+0x233/0x3e0
[ 3.864911] worker_thread+0x53/0x410
[ 3.864913] ? process_one_work+0x3e0/0x3e0
[ 3.864915] kthread+0x12d/0x150
[ 3.864917] ? set_kthread_struct+0x60/0x60
[ 3.864919] ret_from_fork+0x22/0x30
[ 3.864924] </TASK>
[ 3.864925] ---[ end trace 35634197279f20bb ]---
Apart from the warning, the kernel does boot and xorg works.
It looks like this may have been reported previously in #1420 (closed)
Hardware description: HP Pavilion Aero Laptop 13-be0xxx/8916, BIOS F.12 04/11/2023
- CPU: AMD Ryzen 7 5800U with Radeon Graphics
- GPU: [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c1)
- System Memory: 16GB
- Display(s): laptop screen 2560x1600 and three monitors
- Type of Display Connection: eDP, USB-C dock
System information:
- Debian 12 / XFCE
- Custom kernel: v5.15.127
- AMD official driver version: N/A
How to reproduce the issue:
Boot kernel as above.