[RFC 2/2] drm/amd: Extend ASPM disablement for Intel Sapphire rapids host + AMD dGPU

Mario Limonciello mario.limonciello at amd.com
Wed Jul 5 18:06:33 UTC 2023


Sapphire rapids is reported to have problems with Navi3x dGPUs where the
screen freezes and the following message is in the logs:
```
[CRTC:56:crtc-0] flip_done timed out
```

These issues go away when ASPM has been disabled. Extend the disablement
for Sapphire Rapids.

Reported-by: Koba Ko <koba.ko at canonical.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2663
Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index ef22a0a6065e..e9206993c743 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1476,6 +1476,11 @@ static bool amdgpu_device_aspm_support_quirk(void)
 	 *   c08c079692da0 ("drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi")
 	 */
 	case INTEL_FAM6_ALDERLAKE:
+	/* Problems reported for Sapphire Rapids
+	 * Navi 3x:
+	 *   https://gitlab.freedesktop.org/drm/amd/-/issues/2663
+	 */
+	case INTEL_FAM6_SAPPHIRERAPIDS_X:
 		return false;
 	}
 #endif
-- 
2.34.1



More information about the amd-gfx mailing list