mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 03:30:22 +01:00
amdgpu/test: Disable deadlock tests for all non gfx8/9 ASICs.
Since only for those ASICs gpu reset is enabled by deafult. Also update disable message and fix identation . Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b3dec018df
commit
0be850441f
1 changed files with 7 additions and 5 deletions
|
|
@ -119,11 +119,13 @@ CU_BOOL suite_deadlock_tests_enable(void)
|
||||||
&minor_version, &device_handle))
|
&minor_version, &device_handle))
|
||||||
return CU_FALSE;
|
return CU_FALSE;
|
||||||
|
|
||||||
if (device_handle->info.family_id == AMDGPU_FAMILY_SI ||
|
/*
|
||||||
device_handle->info.family_id == AMDGPU_FAMILY_CZ ||
|
* Only enable for ASICs supporting GPU reset and for which it's enabled
|
||||||
device_handle->info.family_id == AMDGPU_FAMILY_RV ||
|
* by default (currently GFX8/9 dGPUS)
|
||||||
device_handle->info.family_id == AMDGPU_FAMILY_KV) {
|
*/
|
||||||
printf("\n\nCurrently hangs the CP on this ASIC, deadlock suite disabled\n");
|
if (device_handle->info.family_id != AMDGPU_FAMILY_VI &&
|
||||||
|
device_handle->info.family_id != AMDGPU_FAMILY_AI) {
|
||||||
|
printf("\n\nGPU reset is not enabled for the ASIC, deadlock suite disabled\n");
|
||||||
enable = CU_FALSE;
|
enable = CU_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue