[Lima] [PATCH i-g-t v2 0/3] Initial tests for the lima drm driver

Erico Nunes nunes.erico at gmail.com
Fri May 26 12:59:58 UTC 2023


I started working on something for the lima drm driver and realized that
there is no coverage for it in igt yet. It would be nice to have some to
check the driver specific ioctls and support that work.
Here are some to get some basic support and if we can get these in, we
can follow up with more tests to cover the remaining ioctls.
I used the panfrost and v3d gem tests as a reference for these initial
tests.

v2: fixed build after CI failure

Erico Nunes (3):
  lib: Add support for opening lima devices
  lib/lima: Add lima helpers
  tests/lima: Add initial tests for lima

 lib/drmtest.c        |  3 ++
 lib/drmtest.h        |  1 +
 lib/igt_lima.c       | 97 ++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_lima.h       | 26 ++++++++++++
 lib/meson.build      |  1 +
 tests/lima_gem_new.c | 78 +++++++++++++++++++++++++++++++++++
 tests/meson.build    |  1 +
 7 files changed, 207 insertions(+)
 create mode 100644 lib/igt_lima.c
 create mode 100644 lib/igt_lima.h
 create mode 100644 tests/lima_gem_new.c

-- 
2.40.1



More information about the lima mailing list