summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYifan Zhang <yifan1.zhang@amd.com>2019-12-16 13:28:58 +0800
committerMarek Olšák <marek.olsak@amd.com>2019-12-30 20:25:52 -0500
commited9652400106ad08572f07cdf1fd6f8a1e7212bf (patch)
tree85b5d4eea6fb9b9daa008a776a851e6dd730b630 /tests
parentc70bd7b7059b2df0d73b5dfbad19f841957bcdba (diff)
downloadlibdrm-ed9652400106ad08572f07cdf1fd6f8a1e7212bf.tar.gz
libdrm-ed9652400106ad08572f07cdf1fd6f8a1e7212bf.tar.bz2
libdrm-ed9652400106ad08572f07cdf1fd6f8a1e7212bf.zip
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/amdgpu/amdgpu_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c
index ea4a9113..81870b19 100644
--- a/tests/amdgpu/amdgpu_test.c
+++ b/tests/amdgpu/amdgpu_test.c
@@ -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 */