diff options
author | Flora Cui <flora.cui@amd.com> | 2019-03-18 16:45:31 +0800 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2019-12-09 15:46:53 -0500 |
commit | 31a6ec141ad0f190af59a96d86f0ebe8fcee6287 (patch) | |
tree | 4e28e11698f8df6d39a85405f0cf5a2414a62f94 /tests/amdgpu/amdgpu_test.c | |
parent | 5e1f6533a0b15587220f661872c86981706b4d42 (diff) | |
download | libdrm-31a6ec141ad0f190af59a96d86f0ebe8fcee6287.tar.gz libdrm-31a6ec141ad0f190af59a96d86f0ebe8fcee6287.tar.bz2 libdrm-31a6ec141ad0f190af59a96d86f0ebe8fcee6287.zip |
tests/amdgpu: add gfx ring bad slow draw test
for gfx9
Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'tests/amdgpu/amdgpu_test.c')
-rw-r--r-- | tests/amdgpu/amdgpu_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c index 54bd33dc..ea4a9113 100644 --- a/tests/amdgpu/amdgpu_test.c +++ b/tests/amdgpu/amdgpu_test.c @@ -481,6 +481,12 @@ static void amdgpu_disable_suites() "gfx ring bad draw test (set amdgpu.lockup_timeout=50)", CU_FALSE)) fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); + /* 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, + "gfx ring slow bad draw test (set amdgpu.lockup_timeout=50)", CU_FALSE)) + fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); + if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE)) fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); |