Commit da1c0338 authored by Jack Xiao's avatar Jack Xiao Committed by Alex Deucher
Browse files

drm/amdgpu/mes: disable mes sdma queue test



Disable mes sdma queue test on sienna cichlid+,
for fw hasn't supported to map sdma queue.
The test can be enabled if fw supports.

Signed-off-by: default avatarJack Xiao <Jack.Xiao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7c18b40e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1079,6 +1079,11 @@ int amdgpu_mes_self_test(struct amdgpu_device *adev)
	}

	for (i = 0; i < ARRAY_SIZE(queue_types); i++) {
		/* On sienna cichlid+, fw hasn't supported to map sdma queue. */
		if (adev->asic_type >= CHIP_SIENNA_CICHLID &&
		    i == AMDGPU_RING_TYPE_SDMA)
			continue;

		r = amdgpu_mes_test_create_gang_and_queues(adev, pasid,
							   &gang_ids[i],
							   queue_types[i][0],