[PATCH 0/5][SRU][M/L] Fix AMDGPU: the screen freeze with W7500

Koba Ko koba.ko at canonical.com
Tue Jul 18 10:50:32 UTC 2023

BugLink: https://bugs.launchpad.net/bugs/2027957

While booting into OOBE, the screen freeze [AMD W7500 only]

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.

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.
4. For Lunar, need modification for function sienna_cichlid_update_pcie_parameters,
   so provide another patch for e701156ccc6c) drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters.


More information about the kernel-team mailing list