[igt-dev] [PATCH v2 0/8] tests/panfrost: Misc fixes/improvements

Boris Brezillon boris.brezillon at collabora.com
Tue Jun 22 09:02:13 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

There's also an extra test to make sure we don't crash the kernel
when closing the DRM FD while jobs are still in-flight.

Regards,

Boris

Boris Brezillon (8):
  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/igt_panfrost.c      | 197 ++++++++++++++++++----------------------
 lib/igt_panfrost.h      |   5 +
 tests/panfrost_prime.c  |  25 ++++-
 tests/panfrost_submit.c |  99 ++++++++++----------
 4 files changed, 162 insertions(+), 164 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list