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

Boris Brezillon boris.brezillon at collabora.com
Mon Jun 21 12:57:17 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 (7):
  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
  lib/panfrost: Get rid of igt_panfrost_trivial_job()
  tests/panfrost: Test FD-close while jobs are still in-flight

 lib/igt_panfrost.c      | 159 +++++++++++++---------------------------
 lib/igt_panfrost.h      |   3 +-
 tests/panfrost_prime.c  |  26 ++++++-
 tests/panfrost_submit.c | 101 ++++++++++++-------------
 4 files changed, 126 insertions(+), 163 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list