]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Need to resume ras during gpu reset for gfx v9_4_3 sriov
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 30 Jan 2024 12:03:39 +0000 (20:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jan 2024 19:05:18 +0000 (14:05 -0500)
Need to resume ras during gpu reset for
gfx v9_4_3 sriov

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 6a930c98387f2c13ce704047ce8a0ba02850f2c8..d534e192e260d7e5cc92f68e05e70b79e9e7f8ac 100644 (file)
@@ -5695,6 +5695,7 @@ retry:    /* Rest of adevs pre asic reset from XGMI hive. */
                /* Aldebaran and gfx_11_0_3 support ras in SRIOV, so need resume ras during reset */
                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(11, 0, 3))
                        amdgpu_ras_resume(adev);
        } else {