[PATCH libdrm 0/4] Dynamicly disable suites and tets.

Andrey Grodzovsky andrey.grodzovsky at amd.com
Fri Nov 10 04:29:59 UTC 2017


THe following  patch series intoroduce  dynamic tests dusabling/enabling
in amdgpu  tester using Cunit API. Today test suits that
don't apply to specific HW just return success w/o executing while
single tests that can't be executed properly are commented out.

Suits are diasbled based on hooks they provide (e.g incompatible 
ASIC or missing blocks) while single tests are diasbled explicitly since this is 
usually due to some bug preventing from the tester  or the system  to handle
the test w/o crashing or killing the tester.

Inside this series also a minor cleanup and new test for memory over allocation.

Andrey Grodzovsky (4):
  amdgpu: Add functions to disable suites and tests.
  amdgpu: Use new suite/test disabling functionality.
  amdgpu: Move memory alloc tests in bo suite.
  amdgpu: Add memory over allocation test.

 tests/amdgpu/amdgpu_test.c    | 169 +++++++++++++++++++++++++++++++++++++-----
 tests/amdgpu/amdgpu_test.h    |  46 ++++++++++++
 tests/amdgpu/basic_tests.c    |  49 ------------
 tests/amdgpu/bo_tests.c       |  69 +++++++++++++++++
 tests/amdgpu/deadlock_tests.c |   8 +-
 tests/amdgpu/uvd_enc_tests.c  |  81 ++++++++------------
 tests/amdgpu/vce_tests.c      |  65 ++++++++--------
 tests/amdgpu/vcn_tests.c      |  74 ++++++++----------
 8 files changed, 363 insertions(+), 198 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list