]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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>
Wed, 19 Oct 2022 02:09:41 +0000 (22:09 -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 5cec6b259b7f764bc0d361d60ff90ca592be4d57..133804e6018a7d5643ae8707669bbe7b7a0343a5 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;