Skip to content

Commit 64ffd2f

Browse files
superm1alexdeucher
authored andcommitted
drm/amd: Disable ASPM for VI w/ all Intel systems
Originally we were quirking ASPM disabled specifically for VI when used with Alder Lake, but it appears to have problems with Rocket Lake as well. Like we've done in the case of dpm for newer platforms, disable ASPM for all Intel systems. Cc: stable@vger.kernel.org # 5.15+ Fixes: 0064b0c ("drm/amd/pm: enable ASPM by default") Reported-and-tested-by: Paolo Gentili <paolo.gentili@canonical.com> Closes: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2036742 Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 05d3ef8 commit 64ffd2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/amd/amdgpu

drivers/gpu/drm/amd/amdgpu/vi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ static void vi_program_aspm(struct amdgpu_device *adev)
11241124
bool bL1SS = false;
11251125
bool bClkReqSupport = true;
11261126

1127-
if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_aspm_support_quirk())
1127+
if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_pcie_dynamic_switching_supported())
11281128
return;
11291129

11301130
if (adev->flags & AMD_IS_APU ||

0 commit comments

Comments
 (0)