]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9725dcfbd0317702d7af5a2eb73313687990f95d
treea9e0aeaf90efce2e723d487e40a54553855ae382
parent3f2392a8fa8594744110f9c702339da2945c1fe5
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: 404a30a83acb ("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