diff options
author | Cui, Flora <Flora.Cui@amd.com> | 2019-03-15 08:51:18 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-18 10:49:52 -0500 |
commit | 00dd9b72a13863dd73cf1340f3700a2bb00f0fe3 (patch) | |
tree | e8790410ef3533af505899b96abcc5ce6c44ef99 /tests/amdgpu/amdgpu_test.c | |
parent | c1ced0bafdb4c817a30ff7b8c4ceb7db1e93ecc5 (diff) | |
download | libdrm-00dd9b72a13863dd73cf1340f3700a2bb00f0fe3.tar.gz libdrm-00dd9b72a13863dd73cf1340f3700a2bb00f0fe3.tar.bz2 libdrm-00dd9b72a13863dd73cf1340f3700a2bb00f0fe3.zip |
tests/amdgpu: add memset draw test
add memset draw test for gfx9
Signed-off-by: Flora Cui <flora.cui@amd.com>
Tested-by: Rui Teng <rui.teng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tests/amdgpu/amdgpu_test.c')
-rw-r--r-- | tests/amdgpu/amdgpu_test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c index 8cc87b13..a793ca7d 100644 --- a/tests/amdgpu/amdgpu_test.c +++ b/tests/amdgpu/amdgpu_test.c @@ -445,6 +445,11 @@ static void amdgpu_disable_suites() if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV) if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test", 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(BASIC_TESTS_STR, "Draw Test", CU_FALSE)) + fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); } /* The main() function for setting up and running the tests. |