drm/amdgpu: skip mes self test for gc 11.0.3 in recover
authorYuBiao Wang <YuBiao.Wang@amd.com>
Wed, 19 Oct 2022 03:36:32 +0000 (11:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Oct 2022 18:44:03 +0000 (14:44 -0400)
Temporary disable mes self teset for gc 11.0.3 during gpu_recovery.

Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@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 e0445e8..5b83627 100644 (file)
@@ -5381,7 +5381,7 @@ skip_hw_reset:
                        drm_sched_start(&ring->sched, !tmp_adev->asic_reset_res);
                }
 
-               if (adev->enable_mes)
+               if (adev->enable_mes && adev->ip_versions[GC_HWIP][0] != IP_VERSION(11, 0, 3))
                        amdgpu_mes_self_test(tmp_adev);
 
                if (!drm_drv_uses_atomic_modeset(adev_to_drm(tmp_adev)) && !job_signaled) {