Bug 210369 - amdgpu fails to resume from suspend
Summary: amdgpu fails to resume from suspend
Status: NEEDINFO
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-26 07:02 UTC by sevenever
Modified: 2022-07-07 20:47 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.9.10-050910-generic #202011221708
Subsystem:
Regression: No
Bisected commit-id:


Attachments
syslog (2.17 MB, text/plain)
2020-11-26 07:02 UTC, sevenever
Details

Description sevenever 2020-11-26 07:02:43 UTC
Created attachment 293817 [details]
syslog

Computer fails to resume from suspend.
From the logs it looks like AMDGPU fails to resume.

It is a thinkpad T14 AMD APU R7 4750U, before suspend it is connected to an external display via USB-C to miniDP adapter, after resuming the external display is not light up.

repeated logs like below in syslog:
Nov 26 13:21:46 FengsTP kernel: [ 3977.841180] amdgpu 0000:07:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process Xorg pid 1831 thread Xorg:cs0 pid 1833)
Nov 26 13:21:46 FengsTP kernel: [ 3977.841182] amdgpu 0000:07:00.0: amdgpu:   in page starting at address 0x000080010a004000 from client 27
Nov 26 13:21:46 FengsTP kernel: [ 3977.841184] amdgpu 0000:07:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00601031
Nov 26 13:21:46 FengsTP kernel: [ 3977.841186] amdgpu 0000:07:00.0: amdgpu: 	 Faulty UTCL2 client ID: 0x8
Nov 26 13:21:46 FengsTP kernel: [ 3977.841187] amdgpu 0000:07:00.0: amdgpu: 	 MORE_FAULTS: 0x1
Nov 26 13:21:46 FengsTP kernel: [ 3977.841189] amdgpu 0000:07:00.0: amdgpu: 	 WALKER_ERROR: 0x0
Nov 26 13:21:46 FengsTP kernel: [ 3977.841191] amdgpu 0000:07:00.0: amdgpu: 	 PERMISSION_FAULTS: 0x3
Nov 26 13:21:46 FengsTP kernel: [ 3977.841193] amdgpu 0000:07:00.0: amdgpu: 	 MAPPING_ERROR: 0x0
Nov 26 13:21:46 FengsTP kernel: [ 3977.841195] amdgpu 0000:07:00.0: amdgpu: 	 RW: 0x0
Comment 1 sevenever 2020-11-26 07:03:21 UTC
lspci output:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 0e)
02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 0e)
02:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
02:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d1)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
Comment 2 Mario Limonciello (AMD) 2022-07-07 20:47:58 UTC
Can you please re-check this on a recent 5.18.y kernel and latest linux-firmware?  I don't believe it should still be an issue.  If it is, I would like to see a new log.

Note You need to log in before you can comment on or make changes to this bug.