summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-11-03 03:26:52 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-11-03 03:26:52 +0000
commit33a56a37a24e2b596f6d180ee5f1b1efb16a6282 (patch)
treee17a35f8f3dc5d77d2ddca8794418ad120b321e1 /sys/dev
parent3c57335b0f4ddae0972f0c68ab0ef544d59886df (diff)
drm/amd: Disable ASPM for VI w/ all Intel systems
From Mario Limonciello 024251bab25daf97a3599c985dd04117b9c60d6b in linux-6.1.y/6.1.61 64ffd2f1d00c6235dabe9704bbb0d9ce3e28147f in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/vi.c b/sys/dev/pci/drm/amd/amdgpu/vi.c
index 2a3fbba7605..e0893d9f961 100644
--- a/sys/dev/pci/drm/amd/amdgpu/vi.c
+++ b/sys/dev/pci/drm/amd/amdgpu/vi.c
@@ -1147,7 +1147,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 ||