Skip to contentSkip to conversation

drm/amdgpu: skip mes self test for gc 11.0.3

PATCH New Gao, Likun 1 participant 1 message Oct 14, 2022 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Gao, Likun

author
#1 lore raw

PATCH 5/8 drm/amdgpu: skip mes self test for gc 11.0.3

[AMD Official Use Only - General]

Temporary disable mes self teset for gc 11.0.3.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +2 -2
index b48684db2832..1174dcc88db5 100644
@@ -1291,7 +1291,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;
--

2.25.1