[igt-dev] [PATCH v3 00/10] tests/panfrost: Misc fixes/improvements

Boris Brezillon boris.brezillon at collabora.com
Fri Jun 25 14:01:08 UTC 2021


Hello,

This is a collection of fixes for the panfrost testsuite:
 * submit tests are now passing on Bifrost
 * the prime test is fixed to handle the case where the KMS device is
   assigned card1

We also two extra tests to
* make sure we don't crash the kernel when closing the DRM FD while
  jobs are still in-flight
* make sure we recover from unhandled pagefaults on a FD-context

Regards,

Boris

Boris Brezillon (10):
  tests/panfrost: Make sure we open a DUMB capable node for prime tests
  lib/panfrost: Handle the NULL case in igt_panfrost_free_bo()
  lib/panfrost: Add a helper to create a job loop
  lib/panfrost: Add a helper to create a NULL job
  tests/panfrost: Simplify submit tests
  tests/panfrost: Extend the pan-reset test
  lib/panfrost: Get rid of igt_panfrost_trivial_job()
  tests/panfrost: Test FD-close while jobs are still in-flight
  lib/panfrost: Add a helper to create dummy write value jobs
  tests/panfrost: Add a test to validate unhandled pagefault handling

 lib/igt_panfrost.c      | 243 ++++++++++++++++++++++------------------
 lib/igt_panfrost.h      |   7 +-
 tests/panfrost_prime.c  |  25 ++++-
 tests/panfrost_submit.c | 115 +++++++++++--------
 4 files changed, 231 insertions(+), 159 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list