[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: Wednesday, April 2, 2025 10:10 AM
To: amd-gfx@lists.freedesktop.org
Cc: 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 in SRIOV after gpu recovery on gfx_9_5_0.

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 90c2bc473cb3..07799917b9a6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -5369,6 +5369,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