LSDMA ring mode doesn't support doorbell. Signed-off-by: Yifan Zhang <yifan1.zhang@xxxxxxx> Reviewed-by: Tim Huang <Tim.Huang@xxxxxxx> Reviewed-by: Lang Yu <lang.yu@xxxxxxx> --- 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