From: Likun Gao Date: Mon, 25 Jul 2022 12:02:40 +0000 (+0800) Subject: drm/amdgpu: skip mes self test for gc 11.0.3 X-Git-Tag: v6.1-rc5~141^2~2^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7a76a29140810807fd85d15470d91b7992b6acf;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu: skip mes self test for gc 11.0.3 Temporary disable mes self teset for gc 11.0.3. Signed-off-by: Likun Gao Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c index 5cec6b2..133804e 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c @@ -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;