[AMD Official Use Only - AMD Internal Distribution Only]

Looks good.

Reviewed-by: Ahmad Rehman <ahmad.reh...@amd.com>

Thanks,
Ahmad

-----Original Message-----
From: Pan, Ellen <yunru....@amd.com>
Sent: Tuesday, March 18, 2025 10:00 AM
To: amd-gfx@lists.freedesktop.org
Cc: Gande, Shravan kumar <shravankumar.ga...@amd.com>; Skvortsov, Victor 
<victor.skvort...@amd.com>; Rehman, Ahmad <ahmad.reh...@amd.com>; Pan, Ellen 
<yunru....@amd.com>
Subject: [PATCH] drm/amdgpu: Enable amdgpu_ras_resume for gfx 9.5.0

This enables ras to be resumed after gpu recovery on mi350 sriov.

Signed-off-by: Ellen Pan <yunru....@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 3e39b01e054c..82001d5ade4f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -5334,6 +5334,7 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device 
*adev,
        if (amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 4, 2) ||
            amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 4, 3) ||
            amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 4, 4) ||
+           amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 5, 0) ||
            amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(11, 0, 3))
                amdgpu_ras_resume(adev);

--
2.34.1

Reply via email to