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 14:52:29 +0000 (10:52 -0400)
commitaa482ddca85a3485be0e7b83a0789dc4d987670b
treea9e0aeaf90efce2e723d487e40a54553855ae382
parent5727375215b0915f28806c337a7ba9835efd340b
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vi.c