[igt-dev] [PATCH i-g-t 0/3] Add tests and support for VKMS's new ConfigFS features

James Shargo jshargo at chromium.org
Fri Jun 23 23:09:51 UTC 2023


From: Jim Shargo <jshargo at chromium.org>

These changes include new library functionality for working with mount
points and the creation of ConfigFS-based devices.

The ConfigFS functionality is currently under review. You can take a
look at the patches here:
https://gitlab.freedesktop.org/jshargo/compositor-kernel-explorations/-/merge_requests/4/commits

Thanks for taking a look! I'm still new to IGT, so please look with
extra care. I am excited to be contributing :).

Jim Shargo (3):
  lib/drmtest: Add VKMS as a known driver type
  lib/igt_aux: Make "is_mountpoint" public ("igt_is_mountpoint")
  tests/vkms: Adds VKMS tests and library functions to support them

 lib/drmtest.c              |  26 +++
 lib/drmtest.h              |   7 +-
 lib/igt.h                  |   2 +
 lib/igt_aux.c              |  25 +++
 lib/igt_aux.h              |   2 +
 lib/igt_configfs.c         | 105 +++++++++++
 lib/igt_configfs.h         |  35 ++++
 lib/igt_debugfs.c          |  29 +--
 lib/igt_vkms.c             | 362 +++++++++++++++++++++++++++++++++++++
 lib/igt_vkms.h             |  58 ++++++
 lib/meson.build            |   2 +
 tests/meson.build          |  13 ++
 tests/vkms/vkms_configfs.c | 189 +++++++++++++++++++
 13 files changed, 827 insertions(+), 28 deletions(-)
 create mode 100644 lib/igt_configfs.c
 create mode 100644 lib/igt_configfs.h
 create mode 100644 lib/igt_vkms.c
 create mode 100644 lib/igt_vkms.h
 create mode 100644 tests/vkms/vkms_configfs.c

-- 
2.41.0.162.gfafddb0af9-goog



More information about the igt-dev mailing list