]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd: Disable ASPM on SI
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 26 Sep 2025 18:26:13 +0000 (20:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Nov 2025 09:37:23 +0000 (10:37 +0100)
[ Upstream commit 7bdd91abf0cb3ea78160e2e78fb58b12f6a38d55 ]

Enabling ASPM causes randoms hangs on Tahiti and Oland on Zen4.
It's unclear if this is a platform-specific or GPU-specific issue.
Disable ASPM on SI for the time being.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index ddd0e7ab82be7eb2db0555890188eeef96e3e46e..fdaf482c0c8a7aefc83d81f140b22ce0a1d14035 100644 (file)
@@ -1880,6 +1880,13 @@ static bool amdgpu_device_pcie_dynamic_switching_supported(struct amdgpu_device
 
 static bool amdgpu_device_aspm_support_quirk(struct amdgpu_device *adev)
 {
+       /* Enabling ASPM causes randoms hangs on Tahiti and Oland on Zen4.
+        * It's unclear if this is a platform-specific or GPU-specific issue.
+        * Disable ASPM on SI for the time being.
+        */
+       if (adev->family == AMDGPU_FAMILY_SI)
+               return true;
+
 #if IS_ENABLED(CONFIG_X86)
        struct cpuinfo_x86 *c = &cpu_data(0);