tests/amdgpu: fix a amdgpu_test hang issue on some platforms.

The computer ring test name mis-match in different files,
thus may be set with TRUE on wrong platforms.

Change-Id: I0b918ff8faf08c9c9f1ad55f4dcd18f66b956901
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
main
Yifan Zhang 2019-12-16 13:28:58 +08:00 committed by Marek Olšák
parent c70bd7b705
commit ed96524001
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ static void amdgpu_disable_suites()
/* This test was ran on GFX9 only */
//if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV)
if (amdgpu_set_test_active(DEADLOCK_TESTS_STR,
"compute ring bad dispatch test (set amdgpu.lockup_timeout=50)", CU_FALSE))
"compute ring bad dispatch test (set amdgpu.lockup_timeout=50,50)", CU_FALSE))
fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
/* This test was ran on GFX9 only */