]> 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)
commit7956963ef77779eff4e7878f481004951137189a
treea9e0aeaf90efce2e723d487e40a54553855ae382
parentd49f0d318bfa39977e02ac1e95d37048caa1dc52
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: 384b72460306 ("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