]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Enable ras for mp0 v13_0_6 sriov
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 15 Aug 2023 09:39:30 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 21:55:02 +0000 (17:55 -0400)
Enable ras for mp0 v13_0_6 sriov

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

index 7689395e44fd419e1e2a5f19ccbe5b00e618afce..378478cf9c21ce6cff6e3d49d94d03082ff412c8 100644 (file)
@@ -2399,6 +2399,7 @@ static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev)
        if (amdgpu_sriov_vf(adev)) {
                switch (adev->ip_versions[MP0_HWIP][0]) {
                case IP_VERSION(13, 0, 2):
+               case IP_VERSION(13, 0, 6):
                        return true;
                default:
                        return false;