Fix AMDGPU: the screen freeze with W7500
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | |||
linux (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | |||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned | |||
Lunar |
Fix Committed
|
Undecided
|
koba | |||
Mantic |
In Progress
|
Undecided
|
koba | |||
linux-oem-6.1 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Fix Released
|
Undecided
|
koba | |||
Kinetic |
Invalid
|
Undecided
|
Unassigned | |||
Lunar |
Invalid
|
Undecided
|
Unassigned | |||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[impact]
While booting into OOBE, the screen freeze [AMD W7500 only]
[fix]
AMDGPU would allocate pcie gen/lane dynamically after ASPM is enabled.
Intel CPU may not support the dynamic lane/speed switching.
Solution is,
- Detect Intel x86 systems that don't support dynamic switching
- Override the input caps to maximum supported for that system
- Force all PCIe levels to use the same settings, rather than try to configure each level differently.
[test cases]
1. boot with w7500
2. the screen doesn't freeze and can't find the error message in dmesg.
"amdgpu: [drm] *ERROR* [CRTC:72:crtc-0] flip_done timed out"
[where the issue could happen]
low, this could lead issue when setting higher speeds than supported.
[Misc]
1. jammy, amdgpu isn't loaded on this platform with 5.15-73-generic.
2. kinetic, amdgpu failed to probe the vga controller with 5.19-46-generic.
3. Passed cbd build against Mantic&Lunar.
description: | updated |
description: | updated |
description: | updated |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
Changed in linux (Ubuntu Kinetic): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
Changed in linux (Ubuntu Lunar): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
Changed in linux (Ubuntu Mantic): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
tags: | added: oem-priority originate-from-2024460 somerville |
tags: | added: originate-from-2026462 |
description: | updated |
description: | updated |
Changed in linux-oem-6.1 (Ubuntu Mantic): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
#Kinetic
Failed to probe amdgpu with 5.19.0-46-generic HWIP:0x30201)
~~~
$ sudo dmesg | grep -ie amdgpu
[ 5.065150] [drm] amdgpu kernel modesetting enabled.
[ 5.065224] amdgpu: CRAT table not found
[ 5.065226] amdgpu: Virtual CRAT table created for CPU
[ 5.065231] amdgpu: Topology: Add CPU node
[ 5.065349] amdgpu 0000:57:00.0: enabling device (0146 -> 0147)
[ 5.067023] amdgpu 0000:57:00.0: amdgpu: Failed to add dm ip block(DCE_
[ 5.067025] amdgpu 0000:57:00.0: amdgpu: Fatal error during GPU init
[ 5.067026] amdgpu 0000:57:00.0: amdgpu: amdgpu: finishing device.
[ 5.067206] amdgpu: probe of 0000:57:00.0 failed with error -22
$ uname -a
Linux 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
~~~