drm/amdgpu: skip mes self test for gc 11.0.3
authorLikun Gao <Likun.Gao@amd.com>
Mon, 25 Jul 2022 12:02:40 +0000 (20:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Oct 2022 21:41:20 +0000 (17:41 -0400)
Temporary disable mes self teset for gc 11.0.3.

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

index 5cec6b2..133804e 100644 (file)
@@ -1296,7 +1296,8 @@ static int mes_v11_0_late_init(void *handle)
 {
        struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 
-       if (!amdgpu_in_reset(adev))
+       if (!amdgpu_in_reset(adev) &&
+           (adev->ip_versions[GC_HWIP][0] != IP_VERSION(11, 0, 3)))
                amdgpu_mes_self_test(adev);
 
        return 0;