[PATCH 0/2][SRU][J/OEM-5.14] UBUNTU: SAUCE: Fix With 20.04d kernel and WX3200, unit freezes on resume

Koba Ko koba.ko at canonical.com
Wed Feb 23 01:38:55 UTC 2022


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

[Impact]
With WX3200 and 20.04d kernel the unit freezes on resume

[Fix]
commit 0064b0ce85bb ("drm/amd/pm: enable ASPM by default") enabled ASPM
by default but a variety of hardware configurations it turns out that this
caused a regression.

* PPC64LE hardware does not support ASPM at a hardware level.
  CONFIG_PCIEASPM is often disabled on these architectures.
* Some dGPUs on ALD platforms don't work with ASPM enabled and PCIe
  subsystem disables it

Check with the PCIe subsystem to see that ASPM has been enabled
or not.

[Test Case]
1. plug wx3200 on the adl machine and make it as a output.
2. suspend&resume machine
3. check if machine could resume successfully

[Where problems could occur]
Low, just disable AMDGPU ASPM if system doesn't enable it.

Mario Limonciello (1):
  UBUNTU: SAUCE: drm/amd: Check if ASPM is enabled from PCIe subsystem

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.25.1




More information about the kernel-team mailing list