]> Git Repo - linux.git/commitdiff
drm/amd: Disable ASPM for VI w/ all Intel systems
authorMario Limonciello <[email protected]>
Fri, 20 Oct 2023 15:26:29 +0000 (10:26 -0500)
committerAlex Deucher <[email protected]>
Thu, 26 Oct 2023 22:41:22 +0000 (18:41 -0400)
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: [email protected] # 5.15+
Fixes: 0064b0ce85bb ("drm/amd/pm: enable ASPM by default")
Reported-and-tested-by: Paolo Gentili <[email protected]>
Closes: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2036742
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/vi.c

index 6a8494f98d3ef488659479270b8a2a5464585868..fe8ba9e9837b39e82bc94cceb5a5a4e9a88b5ee4 100644 (file)
@@ -1124,7 +1124,7 @@ static void vi_program_aspm(struct amdgpu_device *adev)
        bool bL1SS = false;
        bool bClkReqSupport = true;
 
-       if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_aspm_support_quirk())
+       if (!amdgpu_device_should_use_aspm(adev) || !amdgpu_device_pcie_dynamic_switching_supported())
                return;
 
        if (adev->flags & AMD_IS_APU ||
This page took 0.06561 seconds and 4 git commands to generate.