[PATCH v2 5/6] drm/amdgpu: skip LSDMA for mes self test.
Yifan Zhang
yifan1.zhang at amd.com
Fri Nov 17 02:09:45 UTC 2023
LSDMA ring mode doesn't support doorbell.
Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
Reviewed-by: Tim Huang <Tim.Huang at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index 45280fb0e00c..2464d246aa2e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -1362,6 +1362,9 @@ int amdgpu_mes_self_test(struct amdgpu_device *adev)
IP_VERSION(11, 0, 0) &&
queue_types[i][0] == AMDGPU_RING_TYPE_SDMA)
continue;
+ /* LSDMA 6 doesn't support doorbell, hence skip MES test */
+ if (queue_types[i][0] == AMDGPU_RING_TYPE_LSDMA)
+ continue;
r = amdgpu_mes_test_create_gang_and_queues(adev, pasid,
&gang_ids[i],
--
2.37.3
More information about the amd-gfx
mailing list