aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorJack Xiao <[email protected]>2021-05-26 06:00:11 +0000
committerAlex Deucher <[email protected]>2022-05-04 14:43:53 +0000
commitda1c0338f035e51ba718bf446a82121e973f7d1f (patch)
treebb94104334df9016f471ac377d8c5eda65b7bdaa /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amdgpu/mes: fix vm csa update issue (diff)
downloadkernel-da1c0338f035e51ba718bf446a82121e973f7d1f.tar.gz
kernel-da1c0338f035e51ba718bf446a82121e973f7d1f.zip
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: Jack Xiao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index 51a6f309ef22..e23c864aca11 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -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],