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...@canonical.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2663
Signed-off-by: Mario Limonciello <mario.limoncie...@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

Reply via email to