Kernel WARNING in amdgpu_dm_atomic_commit_tail at every resume from S3
At every resume from S3, I receive two warnings from the kernel like:
[ 5558.146196] ------------[ cut here ]------------
[ 5558.146197] WARNING: CPU: 4 PID: 152643 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7850 amdgpu_dm_atomic_commit_tail+0x28a4/0x2ed0 [amdgpu]
[ 5558.146340] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops uvc videobuf2_v4l2 videodev videobuf2_common snd_seq_midi snd_seq_midi_event amdgpu i2c_algo_bit drm_ttm_helper ttm snd_usb_audio video mfd_core snd_hda_codec_hdmi drm_buddy gpu_sched snd_hwdep snd_usbmidi_lib snd_hda_intel drm_display_helper snd_rawmidi snd_intel_dspcfg mc snd_hda_codec backlight drm_kms_helper snd_hda_core syscopyarea r8169 sysfillrect snd_pcm kvm_amd sysimgblt realtek ccp mdio_devres kvm irqbypass libphy i2c_piix4 k10temp wmi uinput nct6775 nct6775_core hwmon_vid lm92 fuse efivarfs
[ 5558.146359] CPU: 4 PID: 152643 Comm: kworker/u24:3 Not tainted 6.3.3-gentoo #1
[ 5558.146360] Hardware name: Micro-Star International Co., Ltd MS-7B86/B450-A PRO (MS-7B86), BIOS A.C0 11/08/2019
[ 5558.146362] Workqueue: events_unbound async_run_entry_fn
[ 5558.146365] RIP: 0010:amdgpu_dm_atomic_commit_tail+0x28a4/0x2ed0 [amdgpu]
[ 5558.146492] Code: 9c 24 a8 00 00 00 e8 ab b3 7c ef 4c 8b 9c 24 a8 00 00 00 e9 bc e9 ff ff 0f 0b 49 8b 3f e8 44 51 2b ef 85 c0 0f 84 0b e4 ff ff <0f> 0b e9 04 e4 ff ff 0f 0b 0f 1f 00 e9 16 e0 ff ff 45 8b 44 24 60
[ 5558.146493] RSP: 0018:ffff9782c2ceb880 EFLAGS: 00010282
[ 5558.146494] RAX: 00000000ffffffea RBX: ffff889fc304f000 RCX: 0000000000000000
[ 5558.146495] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 5558.146495] RBP: ffff9782c2cebc18 R08: 0000000000000000 R09: 0000000000000000
[ 5558.146496] R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000
[ 5558.146497] R13: 0000000000000000 R14: ffff88a057740200 R15: ffff889fc3c7ba00
[ 5558.146497] FS: 0000000000000000(0000) GS:ffff88a2bed00000(0000) knlGS:0000000000000000
[ 5558.146498] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5558.146499] CR2: 0000000000000000 CR3: 000000014aa30000 CR4: 0000000000350ee0
[ 5558.146500] Call Trace:
[ 5558.146502] <TASK>
[ 5558.146503] ? sysvec_apic_timer_interrupt+0x15/0x90
[ 5558.146506] ? __cond_resched+0x11/0x50
[ 5558.146508] ? __ww_mutex_lock.constprop.0+0x58/0x840
[ 5558.146512] commit_tail+0x8e/0x130 [drm_kms_helper]
[ 5558.146519] drm_atomic_helper_commit+0x131/0x160 [drm_kms_helper]
[ 5558.146525] drm_atomic_commit+0x91/0xd0
[ 5558.146527] ? __pfx___drm_printfn_info+0x10/0x10
[ 5558.146530] drm_atomic_helper_commit_duplicated_state+0xb7/0xd0 [drm_kms_helper]
[ 5558.146536] drm_atomic_helper_resume+0x94/0x170 [drm_kms_helper]
[ 5558.146541] dm_resume+0x313/0x610 [amdgpu]
[ 5558.146668] amdgpu_device_ip_resume_phase2+0x49/0xc0 [amdgpu]
[ 5558.146754] amdgpu_device_resume+0xd9/0x300 [amdgpu]
[ 5558.146839] amdgpu_pmops_resume+0x4f/0x90 [amdgpu]
[ 5558.146924] ? __pfx_pci_pm_resume+0x10/0x10
[ 5558.146926] dpm_run_callback+0x90/0x1c0
[ 5558.146929] device_resume+0x138/0x350
[ 5558.146930] async_resume+0x14/0x50
[ 5558.146932] async_run_entry_fn+0x34/0xe0
[ 5558.146934] process_one_work+0x1c0/0x3a0
[ 5558.146936] worker_thread+0x49/0x3a0
[ 5558.146938] ? __pfx_worker_thread+0x10/0x10
[ 5558.146940] kthread+0xbe/0xe0
[ 5558.146942] ? __pfx_kthread+0x10/0x10
[ 5558.146943] ret_from_fork+0x2c/0x50
[ 5558.146946] </TASK>
[ 5558.146947] ---[ end trace 0000000000000000 ]---
This is using an RX 6600 XT, kernel 6.3.3. This seems to be related or maybe the same as #2207 (closed). I attach a , please tell me if other information is required. Thanks