Hi, I'd like to report a problem with resuming from hibernation on Thinkpad X13 AMD.
BTW, everything else seems to work just fine :) System version: OpenBSD 6.8 GENERIC.MP#115 amd64 Relevant logs from /var/log/messages: Oct 16 08:57:29 orion /bsd: drm0 at amdgpu0 Oct 16 08:57:29 orion /bsd: amdgpu0: msi Oct 16 08:57:29 orion /bsd: amdgpu0: RENOIR 7 CU rev 0x00 Oct 16 08:57:29 orion /bsd: amdgpu0: 1920x1080, 32bpp Oct 16 08:59:24 orion apmd: system hibernating Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:128 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000664000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x00000300 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (0) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:157 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000669000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x0000033A Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x5 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x3 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (8) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:128 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x000000000066c000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x00000300 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (9) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:24 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000672000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x00000230 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x3 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (10) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:157 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000677000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x0000033A Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x5 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x3 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (11) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (12) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:157 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x00000000006ba000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x0000033A Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x5 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x3 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (13) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (17) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (18) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (19) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (20) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (26) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: [drm] failed to load ucode id (32) [drm] psp command (0x6) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [mmhub0] no-retry page fault (src_id:0 ring:144 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000800000 from client 18 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x00000320 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0x2 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] psp command (0x4) failed and response status is (0xF) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [gfxhub0] no-retry page fault (src_id:0 ring:80 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000000000 from client 27 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x00000AA0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0xa Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* [gfxhub0] no-retry page fault (src_id:0 ring:221 vmid:0 pasid:0, for process pid 0 thread pid 0) Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* in page starting at address 0x0000000000456000 from client 27 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* VM_L2_PROTECTION_FAULT_STATUS:0x000009BA Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MORE_FAULTS: 0x0 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* WALKER_ERROR: 0x5 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* PERMISSION_FAULTS: 0xb Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* MAPPING_ERROR: 0x1 Oct 16 09:02:15 orion /bsd: drm:pid86388:gmc_v9_0_process_interrupt *ERROR* RW: 0x0 Oct 16 09:02:15 orion /bsd: [drm] *ERROR* ring kiq_2.1.0 test failed (-60) Oct 16 09:02:15 orion /bsd: [drm] *ERROR* KCQ enable failed Oct 16 09:02:15 orion /bsd: [drm] *ERROR* resume of IP block <gfx_v9_0> failed -60 Oct 16 09:02:15 orion /bsd: [drm] *ERROR* amdgpu_device_ip_resume failed (-60). Oct 16 09:02:15 orion apmd: system resumed from sleep Oct 16 09:07:11 orion /bsd: [drm] REG_WAIT timeout 10us * 200000 tries - rn_vbios_smu_send_msg_with_param line:67 Oct 16 09:07:11 orion /bsd: WARNING !(0) failed at /usr/src/sys/dev/pci/drm/amd/display/dc/dc_helper.c:526 Oct 16 09:08:12 orion /bsd: drm:pid30653:amdgpu_ib_schedule *ERROR* couldn't schedule ib on ring <sdma0> Oct 16 09:08:12 orion /bsd: [drm] *ERROR* Error scheduling IBs (-22) Oct 16 09:08:12 orion /bsd: drm:pid30653:amdgpu_ib_schedule *ERROR* couldn't schedule ib on ring <sdma0> Oct 16 09:08:12 orion /bsd: [drm] *ERROR* Error scheduling IBs (-22) Oct 16 09:08:12 orion /bsd: drm:pid30653:amdgpu_ib_schedule *ERROR* couldn't schedule ib on ring <sdma0> Oct 16 09:08:12 orion /bsd: [drm] *ERROR* Error scheduling IBs (-22) $ The system comes back up, but video output is broken. Regards, -- Renato