mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-19 10:48:32 +02:00
tests/amdgpu: disable gfx engine basic test cases for Arcturus
Since Arcturus has no gfx pipeline(CPG), cases below is not suitable: - Command submission Test (GFX) - Command submission Test (Multi-Fence) - Sync dependency Test Acked-by: Huang Rui <ray.huang@amd.com> Acked-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
301b4b64d0
commit
236a139f09
1 changed files with 25 additions and 0 deletions
|
|
@ -602,13 +602,38 @@ static bool asic_is_arcturus(uint32_t asic_id)
|
|||
|
||||
CU_BOOL suite_basic_tests_enable(void)
|
||||
{
|
||||
uint32_t asic_id;
|
||||
|
||||
if (amdgpu_device_initialize(drm_amdgpu[0], &major_version,
|
||||
&minor_version, &device_handle))
|
||||
return CU_FALSE;
|
||||
|
||||
asic_id = device_handle->info.asic_id;
|
||||
|
||||
if (amdgpu_device_deinitialize(device_handle))
|
||||
return CU_FALSE;
|
||||
|
||||
/* disable gfx engine basic test cases for Arturus due to no CPG */
|
||||
if (asic_is_arcturus(asic_id)) {
|
||||
if (amdgpu_set_test_active("Basic Tests",
|
||||
"Command submission Test (GFX)",
|
||||
CU_FALSE))
|
||||
fprintf(stderr, "test deactivation failed - %s\n",
|
||||
CU_get_error_msg());
|
||||
|
||||
if (amdgpu_set_test_active("Basic Tests",
|
||||
"Command submission Test (Multi-Fence)",
|
||||
CU_FALSE))
|
||||
fprintf(stderr, "test deactivation failed - %s\n",
|
||||
CU_get_error_msg());
|
||||
|
||||
if (amdgpu_set_test_active("Basic Tests",
|
||||
"Sync dependency Test",
|
||||
CU_FALSE))
|
||||
fprintf(stderr, "test deactivation failed - %s\n",
|
||||
CU_get_error_msg());
|
||||
}
|
||||
|
||||
return CU_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue