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

Christian König christian.koenig at amd.com
Fri Nov 10 12:17:20 UTC 2017


Series is Acked-by: Christian König <christian.koenig at amd.com>.

Please note that I think your OOM killer test shows quite a bug we 
currently have in the kernel driver.

A single allocation of 1TB shouldn't trigger the OOM killer, but rather 
be reacted immediately.

Instead I expected that we need to do multiple 1GB allocations to 
trigger the next problem that our TTM code doesn't imply a global limit.

Regards,
Christian.

Am 10.11.2017 um 05:29 schrieb Andrey Grodzovsky:
> 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(-)
>



More information about the amd-gfx mailing list