RX 6600 issue on suspend
Brief summary of the problem:
When the PC is on idle mode and goes to suspend, sometimes it's not able to wake up. I tried having an ssh session from another machine, and it seems that pc is still responding and not frozen. It doesn't happen everytime, but happens at least once a week. Added some dmesg logs from the time that happened.
Hardware description:
- CPU: AMD Ryzen 7 3700X 8-Core
- GPU: [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c7)
- System Memory: 32G
- Display(s): 2x Dell Ultrasharp U2718Q 27-Inch 4K
- Type of Display Connection: 2x DP
System information:
- Distro name and Version: Void Linux
- WM: sway 1.7
- Kernel version: 5.15.41
- AMD driver: amdgpu
How to reproduce the issue:
Not a standard way to reproduce. Happens after suspend.
Log files (for system lockups / game freezes / crashes)
dmesg log
[527994.479136] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=100622, emitted seq=100624
[527994.479274] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process pid 0 thread pid 0
[527994.479386] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[527999.082318] amdgpu 0000:0c:00.0: amdgpu: Failed to disable gfxoff!
[527999.585344] [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
[527999.853495] amdgpu 0000:0c:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
[527999.853551] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KGQ disable failed
[528000.103477] amdgpu 0000:0c:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
[528000.103538] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
[528000.353347] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
[528004.962699] amdgpu 0000:0c:00.0: amdgpu: SMU: I'm not done with your previous command!
[528004.962705] amdgpu 0000:0c:00.0: amdgpu: Failed to disable smu features.
[528004.962708] amdgpu 0000:0c:00.0: amdgpu: Fail to disable dpm features!
[528004.962709] [drm:amdgpu_device_ip_suspend_phase2 [amdgpu]] *ERROR* suspend of IP block <smu> failed -62
[528004.983174] [drm] free PSP TMR buffer
[528006.079752] [drm] psp gfx command DESTROY_TMR(0x7) failed and response status is (0x80000306)
[528006.100908] amdgpu 0000:0c:00.0: amdgpu: MODE1 reset
[528006.100911] amdgpu 0000:0c:00.0: amdgpu: GPU mode1 reset
[528006.100983] amdgpu 0000:0c:00.0: amdgpu: GPU smu mode1 reset
[528010.698405] amdgpu 0000:0c:00.0: amdgpu: SMU: I'm not done with your previous command!
[528010.698411] amdgpu 0000:0c:00.0: amdgpu: GPU mode1 reset failed
[528010.698521] amdgpu 0000:0c:00.0: amdgpu: ASIC reset failed with error, -62 for drm dev, 0000:0c:00.0
[528021.671364] amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
[528021.671600] [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
[528021.671635] [drm] VRAM is lost due to GPU reset!
[528021.672550] [drm] PSP is resuming...
[528022.791614] [drm] failed to load ucode SMC(0x18)
[528022.791643] [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status is (0x80000306)
[528022.791649] [drm] reserve 0xa00000 from 0x81fe000000 for PSP TMR
[528024.854535] [drm] psp gfx command AUTOLOAD_RLC(0x21) failed and response status is (0x0)
[528024.854541] [drm:psp_load_non_psp_fw [amdgpu]] *ERROR* Failed to start rlc autoload
[528024.854609] [drm:psp_resume [amdgpu]] *ERROR* PSP resume failed
[528024.854681] [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* resume of IP block <psp> failed -22
[528024.854739] [drm] Skip scheduling IBs!
[528024.854740] [drm] Skip scheduling IBs!
[528024.854754] [drm] Skip scheduling IBs!
[528024.854755] [drm] Skip scheduling IBs!
[528024.854761] amdgpu 0000:0c:00.0: amdgpu: GPU reset(1) failed
[528024.854780] [drm] Skip scheduling IBs!
[528024.854783] [drm] Skip scheduling IBs!
[528024.854787] [drm] Skip scheduling IBs!
[528024.854797] [drm] Skip scheduling IBs!
[528024.854802] [drm] Skip scheduling IBs!
[528024.854804] [drm] Skip scheduling IBs!
[528024.854806] [drm] Skip scheduling IBs!
[528024.854808] [drm] Skip scheduling IBs!
[528024.857146] amdgpu 0000:0c:00.0: amdgpu: GPU reset end with ret = -22
[528024.868396] snd_hda_intel 0000:0c:00.1: refused to change power state from D0 to D3hot
[528049.138816] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528059.502661] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout, signaled seq=139977, emitted seq=139979
[528059.502661] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=100624, emitted seq=100626
[528059.502793] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process pid 0 thread pid 0
[528059.502797] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process pid 0 thread pid 0
[528059.502907] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[528059.502907] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[528059.502910] amdgpu 0000:0c:00.0: amdgpu: Bailing on TDR for s_job:222c9, as another already in progress
[528090.568112] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528090.568318] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528110.620684] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528110.620954] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528130.902650] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528130.967670] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528130.968505] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528130.981665] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528130.997621] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528131.014530] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528131.031469] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528131.048375] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528131.064283] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528131.081231] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.914873] amdgpu_cs_ioctl: 289 callbacks suppressed
[528135.914877] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.930912] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.947950] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.964978] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.981012] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528135.998062] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528136.014100] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528136.031374] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528136.047454] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528136.064614] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528261.741439] INFO: task firefox:cs0:4076 blocked for more than 122 seconds.
[528261.741449] Not tainted 5.15.41_1 #1
[528261.741451] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528261.741453] task:firefox:cs0 state:D stack: 0 pid: 4076 ppid: 4049 flags:0x00000000
[528261.741458] Call Trace:
[528261.741460] <TASK>
[528261.741463] __schedule+0x31c/0x13d0
[528261.741472] ? ___slab_alloc+0x4b7/0x830
[528261.741479] ? drm_sched_fence_create+0x22/0xb0 [gpu_sched]
[528261.741485] schedule+0x44/0xa0
[528261.741488] schedule_timeout+0xfc/0x140
[528261.741491] dma_fence_default_wait+0x1a4/0x240
[528261.741496] ? dma_fence_free+0x20/0x20
[528261.741499] dma_fence_wait_timeout+0xae/0xd0
[528261.741503] gmc_v10_0_flush_gpu_tlb+0x23d/0x2c0 [amdgpu]
[528261.741616] amdgpu_gart_invalidate_tlb+0x3b/0x50 [amdgpu]
[528261.741783] amdgpu_ttm_alloc_gart+0x155/0x1a0 [amdgpu]
[528261.741899] amdgpu_cs_ioctl+0x126f/0x1ee0 [amdgpu]
[528261.742033] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528261.742179] drm_ioctl_kernel+0xaa/0xf0 [drm]
[528261.742201] drm_ioctl+0x220/0x3c0 [drm]
[528261.742221] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528261.742337] ? exit_to_user_mode_prepare+0x32/0x150
[528261.742341] ? syscall_exit_to_user_mode+0x23/0x40
[528261.742345] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[528261.742434] __x64_sys_ioctl+0x83/0xb0
[528261.742438] do_syscall_64+0x5c/0x80
[528261.742442] ? asm_exc_page_fault+0x8/0x30
[528261.742445] entry_SYSCALL_64_after_hwframe+0x44/0xae
[528261.742449] RIP: 0033:0x7f448a3561b7
[528261.742451] RSP: 002b:00007f4489efea58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[528261.742454] RAX: ffffffffffffffda RBX: 00007f4489efeac0 RCX: 00007f448a3561b7
[528261.742456] RDX: 00007f4489efeac0 RSI: 00000000c0186444 RDI: 0000000000000008
[528261.742458] RBP: 00000000c0186444 R08: 00007f4489efebe0 R09: 00007f4489efeaa0
[528261.742459] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f447e7c8400
[528261.742460] R13: 0000000000000008 R14: 0000000000000003 R15: 00007f43e674e058
[528261.742462] </TASK>
[528261.742632] INFO: task kworker/7:2:11425 blocked for more than 122 seconds.
[528261.742634] Not tainted 5.15.41_1 #1
[528261.742636] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528261.742637] task:kworker/7:2 state:D stack: 0 pid:11425 ppid: 2 flags:0x00004000
[528261.742642] Workqueue: events drm_sched_job_timedout [gpu_sched]
[528261.742646] Call Trace:
[528261.742647] <TASK>
[528261.742648] __schedule+0x31c/0x13d0
[528261.742652] ? finish_task_switch.isra.0+0xa7/0x280
[528261.742655] ? __schedule+0x324/0x13d0
[528261.742658] ? asm_sysvec_error_interrupt+0x12/0x20
[528261.742661] schedule+0x44/0xa0
[528261.742665] schedule_preempt_disabled+0xa/0x10
[528261.742667] __mutex_lock.constprop.0+0x274/0x3f0
[528261.742669] dm_suspend+0xa2/0x1c0 [amdgpu]
[528261.742815] ? smuio_v11_0_6_update_rom_clock_gating+0xb4/0xd0 [amdgpu]
[528261.742939] ? nv_common_set_clockgating_state+0x97/0xa0 [amdgpu]
[528261.743095] amdgpu_device_ip_suspend_phase1+0x75/0xd0 [amdgpu]
[528261.743239] ? amdgpu_fence_process+0x4d/0x130 [amdgpu]
[528261.743370] amdgpu_device_ip_suspend+0x1c/0x60 [amdgpu]
[528261.743461] amdgpu_device_pre_asic_reset+0xcb/0x260 [amdgpu]
[528261.743550] amdgpu_device_gpu_recover.cold+0x585/0xa10 [amdgpu]
[528261.743662] amdgpu_job_timedout+0x145/0x170 [amdgpu]
[528261.743779] drm_sched_job_timedout+0x6e/0xf0 [gpu_sched]
[528261.743783] process_one_work+0x1ec/0x390
[528261.743787] worker_thread+0x50/0x3b0
[528261.743798] ? process_one_work+0x390/0x390
[528261.743800] kthread+0x127/0x150
[528261.743804] ? set_kthread_struct+0x40/0x40
[528261.743806] ret_from_fork+0x22/0x30
[528261.743810] </TASK>
[528384.620794] INFO: task firefox:cs0:4076 blocked for more than 245 seconds.
[528384.620802] Not tainted 5.15.41_1 #1
[528384.620804] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528384.620806] task:firefox:cs0 state:D stack: 0 pid: 4076 ppid: 4049 flags:0x00000000
[528384.620811] Call Trace:
[528384.620812] <TASK>
[528384.620815] __schedule+0x31c/0x13d0
[528384.620823] ? ___slab_alloc+0x4b7/0x830
[528384.620830] ? drm_sched_fence_create+0x22/0xb0 [gpu_sched]
[528384.620835] schedule+0x44/0xa0
[528384.620838] schedule_timeout+0xfc/0x140
[528384.620841] dma_fence_default_wait+0x1a4/0x240
[528384.620845] ? dma_fence_free+0x20/0x20
[528384.620848] dma_fence_wait_timeout+0xae/0xd0
[528384.620852] gmc_v10_0_flush_gpu_tlb+0x23d/0x2c0 [amdgpu]
[528384.620978] amdgpu_gart_invalidate_tlb+0x3b/0x50 [amdgpu]
[528384.621078] amdgpu_ttm_alloc_gart+0x155/0x1a0 [amdgpu]
[528384.621204] amdgpu_cs_ioctl+0x126f/0x1ee0 [amdgpu]
[528384.621356] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528384.621460] drm_ioctl_kernel+0xaa/0xf0 [drm]
[528384.621475] drm_ioctl+0x220/0x3c0 [drm]
[528384.621487] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528384.621587] ? exit_to_user_mode_prepare+0x32/0x150
[528384.621591] ? syscall_exit_to_user_mode+0x23/0x40
[528384.621595] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[528384.621684] __x64_sys_ioctl+0x83/0xb0
[528384.621688] do_syscall_64+0x5c/0x80
[528384.621692] ? asm_exc_page_fault+0x8/0x30
[528384.621695] entry_SYSCALL_64_after_hwframe+0x44/0xae
[528384.621698] RIP: 0033:0x7f448a3561b7
[528384.621701] RSP: 002b:00007f4489efea58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[528384.621704] RAX: ffffffffffffffda RBX: 00007f4489efeac0 RCX: 00007f448a3561b7
[528384.621706] RDX: 00007f4489efeac0 RSI: 00000000c0186444 RDI: 0000000000000008
[528384.621707] RBP: 00000000c0186444 R08: 00007f4489efebe0 R09: 00007f4489efeaa0
[528384.621709] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f447e7c8400
[528384.621710] R13: 0000000000000008 R14: 0000000000000003 R15: 00007f43e674e058
[528384.621712] </TASK>
[528384.621876] INFO: task kworker/7:2:11425 blocked for more than 245 seconds.
[528384.621879] Not tainted 5.15.41_1 #1
[528384.621881] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528384.621882] task:kworker/7:2 state:D stack: 0 pid:11425 ppid: 2 flags:0x00004000
[528384.621886] Workqueue: events drm_sched_job_timedout [gpu_sched]
[528384.621891] Call Trace:
[528384.621892] <TASK>
[528384.621893] __schedule+0x31c/0x13d0
[528384.621896] ? finish_task_switch.isra.0+0xa7/0x280
[528384.621900] ? __schedule+0x324/0x13d0
[528384.621903] ? asm_sysvec_error_interrupt+0x12/0x20
[528384.621906] schedule+0x44/0xa0
[528384.621909] schedule_preempt_disabled+0xa/0x10
[528384.621911] __mutex_lock.constprop.0+0x274/0x3f0
[528384.621914] dm_suspend+0xa2/0x1c0 [amdgpu]
[528384.622059] ? smuio_v11_0_6_update_rom_clock_gating+0xb4/0xd0 [amdgpu]
[528384.622183] ? nv_common_set_clockgating_state+0x97/0xa0 [amdgpu]
[528384.622342] amdgpu_device_ip_suspend_phase1+0x75/0xd0 [amdgpu]
[528384.622486] ? amdgpu_fence_process+0x4d/0x130 [amdgpu]
[528384.622616] amdgpu_device_ip_suspend+0x1c/0x60 [amdgpu]
[528384.622706] amdgpu_device_pre_asic_reset+0xcb/0x260 [amdgpu]
[528384.622796] amdgpu_device_gpu_recover.cold+0x585/0xa10 [amdgpu]
[528384.622907] amdgpu_job_timedout+0x145/0x170 [amdgpu]
[528384.623030] drm_sched_job_timedout+0x6e/0xf0 [gpu_sched]
[528384.623035] process_one_work+0x1ec/0x390
[528384.623039] worker_thread+0x50/0x3b0
[528384.623042] ? process_one_work+0x390/0x390
[528384.623044] kthread+0x127/0x150
[528384.623048] ? set_kthread_struct+0x40/0x40
[528384.623051] ret_from_fork+0x22/0x30
[528384.623055] </TASK>
[528438.485687] amdgpu_cs_ioctl: 139 callbacks suppressed
[528438.485692] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.485846] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.501141] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.517157] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.534352] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.550379] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.567857] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.583839] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.599834] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528438.616841] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.500485] amdgpu_cs_ioctl: 292 callbacks suppressed
[528443.500489] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.516571] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.533612] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.549663] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.566708] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.583742] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.599764] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.616786] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.633813] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528443.649841] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528462.876233] amdgpu_cs_ioctl: 77 callbacks suppressed
[528462.876237] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528462.885203] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[528507.499264] INFO: task firefox:cs0:4076 blocked for more than 368 seconds.
[528507.499271] Not tainted 5.15.41_1 #1
[528507.499274] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528507.499276] task:firefox:cs0 state:D stack: 0 pid: 4076 ppid: 4049 flags:0x00000000
[528507.499281] Call Trace:
[528507.499282] <TASK>
[528507.499284] __schedule+0x31c/0x13d0
[528507.499292] ? ___slab_alloc+0x4b7/0x830
[528507.499297] ? drm_sched_fence_create+0x22/0xb0 [gpu_sched]
[528507.499303] schedule+0x44/0xa0
[528507.499306] schedule_timeout+0xfc/0x140
[528507.499309] dma_fence_default_wait+0x1a4/0x240
[528507.499314] ? dma_fence_free+0x20/0x20
[528507.499317] dma_fence_wait_timeout+0xae/0xd0
[528507.499320] gmc_v10_0_flush_gpu_tlb+0x23d/0x2c0 [amdgpu]
[528507.499430] amdgpu_gart_invalidate_tlb+0x3b/0x50 [amdgpu]
[528507.499529] amdgpu_ttm_alloc_gart+0x155/0x1a0 [amdgpu]
[528507.499627] amdgpu_cs_ioctl+0x126f/0x1ee0 [amdgpu]
[528507.499730] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528507.499829] drm_ioctl_kernel+0xaa/0xf0 [drm]
[528507.499844] drm_ioctl+0x220/0x3c0 [drm]
[528507.499856] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu]
[528507.499956] ? exit_to_user_mode_prepare+0x32/0x150
[528507.499960] ? syscall_exit_to_user_mode+0x23/0x40
[528507.499963] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[528507.500052] __x64_sys_ioctl+0x83/0xb0
[528507.500056] do_syscall_64+0x5c/0x80
[528507.500060] ? asm_exc_page_fault+0x8/0x30
[528507.500063] entry_SYSCALL_64_after_hwframe+0x44/0xae
[528507.500067] RIP: 0033:0x7f448a3561b7
[528507.500069] RSP: 002b:00007f4489efea58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[528507.500072] RAX: ffffffffffffffda RBX: 00007f4489efeac0 RCX: 00007f448a3561b7
[528507.500074] RDX: 00007f4489efeac0 RSI: 00000000c0186444 RDI: 0000000000000008
[528507.500075] RBP: 00000000c0186444 R08: 00007f4489efebe0 R09: 00007f4489efeaa0
[528507.500077] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f447e7c8400
[528507.500078] R13: 0000000000000008 R14: 0000000000000003 R15: 00007f43e674e058
[528507.500080] </TASK>
[528507.500262] INFO: task kworker/7:2:11425 blocked for more than 368 seconds.
[528507.500266] Not tainted 5.15.41_1 #1
[528507.500268] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[528507.500270] task:kworker/7:2 state:D stack: 0 pid:11425 ppid: 2 flags:0x00004000
[528507.500275] Workqueue: events drm_sched_job_timedout [gpu_sched]
[528507.500281] Call Trace:
[528507.500282] <TASK>
[528507.500283] __schedule+0x31c/0x13d0
[528507.500288] ? finish_task_switch.isra.0+0xa7/0x280
[528507.500293] ? __schedule+0x324/0x13d0
[528507.500297] ? asm_sysvec_error_interrupt+0x12/0x20
[528507.500301] schedule+0x44/0xa0
[528507.500305] schedule_preempt_disabled+0xa/0x10
[528507.500308] __mutex_lock.constprop.0+0x274/0x3f0
[528507.500312] dm_suspend+0xa2/0x1c0 [amdgpu]
[528507.500506] ? smuio_v11_0_6_update_rom_clock_gating+0xb4/0xd0 [amdgpu]
[528507.500672] ? nv_common_set_clockgating_state+0x97/0xa0 [amdgpu]
[528507.500831] amdgpu_device_ip_suspend_phase1+0x75/0xd0 [amdgpu]
[528507.500923] ? amdgpu_fence_process+0x4d/0x130 [amdgpu]
[528507.501014] amdgpu_device_ip_suspend+0x1c/0x60 [amdgpu]
[528507.501104] amdgpu_device_pre_asic_reset+0xcb/0x260 [amdgpu]
[528507.501202] amdgpu_device_gpu_recover.cold+0x585/0xa10 [amdgpu]
[528507.501338] amdgpu_job_timedout+0x145/0x170 [amdgpu]
[528507.501463] drm_sched_job_timedout+0x6e/0xf0 [gpu_sched]
[528507.501467] process_one_work+0x1ec/0x390
[528507.501471] worker_thread+0x50/0x3b0
[528507.501474] ? process_one_work+0x390/0x390
[528507.501477] kthread+0x127/0x150
[528507.501480] ? set_kthread_struct+0x40/0x40
[528507.501483] ret_from_fork+0x22/0x30
[528507.501487] </TASK>