drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
authorRichard Gong <richard.gong@amd.com>
Fri, 8 Apr 2022 17:08:38 +0000 (12:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 20:57:28 +0000 (16:57 -0400)
commite02fe3bc7aba2f7b292c6005b8334fffd4ac5e5f
treee4eafd20689f9c336af9c720be2b372802e71cec
parentd54762cc3e6abb08f5ae31e3fa6a249768c07617
drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems

Active State Power Management (ASPM) feature is enabled since kernel 5.14.
There are some AMD Volcanic Islands (VI) GFX cards, such as the WX3200 and
RX640, that do not work with ASPM-enabled Intel Alder Lake based systems.
Using these GFX cards as video/display output, Intel Alder Lake based
systems will freeze after suspend/resume.

The issue was originally reported on one system (Dell Precision 3660 with
BIOS version 0.14.81), but was later confirmed to affect at least 4
pre-production Alder Lake based systems.

Add an extra check to disable ASPM on Intel Alder Lake based systems with
the problematic AMD Volcanic Islands GFX cards.

Fixes: 0064b0ce85bb ("drm/amd/pm: enable ASPM by default")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1885
Signed-off-by: Richard Gong <richard.gong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c