tests/amdgpu: add deadlock test for sdma
PATCH 1/1 tests/amdgpu: add deadlock test for sdma
deadlock test for sdma will cause gpu recoverty.
disable the test for now until GPU reset recovery could survive at least 1000 times test.
Change-Id I9adac63c62db22107345eddb30e7d81a1bda838c
Signed-off-by Flora Cui <[email protected]>
--- tests/amdgpu/amdgpu_test.c | 4 ++ tests/amdgpu/deadlock_tests.c | 103 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 106 insertions(+), 1 deletion(-)
tests/amdgpu/amdgpu_test.c +4 -0
@@ -426,6 +426,10 @@ static void amdgpu_disable_suites() "compute ring block test (set amdgpu.lockup_timeout=50)", CU_FALSE))fprintf (stderr,"test deactivation failed - %s\n" ,CU_get_error_msg ()); +if (amdgpu_set_test_active (DEADLOCK_TESTS_STR , +"sdma ring block test" ,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 ());
tests/amdgpu/deadlock_tests.c +102 -1
133 lines not on this page · raw message
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel