OSDN Git Service

drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 15 Mar 2023 12:07:23 +0000 (20:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Mar 2023 13:34:35 +0000 (09:34 -0400)
commit2b072442f4962231a8516485012bb2d2551ef2fe
treecad7d3b0fffe8d6e74bc115086dffcaa628c8f3f
parent6d457ca162da98a6a1a381320e936d7448177de9
drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi

S2idle resume freeze can be observed on Intel ADL + AMD WX5500. This is
caused by commit 0064b0ce85bb ("drm/amd/pm: enable ASPM by default").

The root cause is still not clear for now.

So extend and apply the ASPM quirk from commit e02fe3bc7aba
("drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems"), to
workaround the issue on Navi cards too.

Fixes: 0064b0ce85bb ("drm/amd/pm: enable ASPM by default")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2458
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/vi.c