[PATCH i-g-t 0/5] Replace intel_sysfs_debugfs

Peter Senna Tschudin peter.senna at linux.intel.com
Thu May 22 11:00:43 UTC 2025


intel_sysfs_debugfs was created with the intention of unifying i915 and
xe tests to close testing gaps between the two. This series goes a few
steps further making the sysfs and the debugfs tests gpu agnostic. This
series also creates xe_debugfs that preserves the tests that
are exclusive to xe.

This series:
 - deletes tests/intel_sysfs_debugfs
 - moves shared function to lib/igt_dir_explorer
 - creates gpu agnostic tests
   - core_debugfs
   - core_debugfs_display_on_off
   - core_sysfs
 - creates the xe-specific test
   - xe_debugfs (complementary to core_debugfs*)
 - Updates testlists and scripts

Cc: marcin.bernatowicz at intel.com
Cc: kamil.konieczny at linux.intel.com
Cc: katarzyna.piecielska at intel.com
Cc: zbigniew.kempczynski at intel.com
Cc: ewelina.musial at intel.com

Peter Senna Tschudin (5):
  Remove tests/intel/intel_sysfs_debugfs
  lib/igt_dir: Directory processing and flexible file handling
  Add tests: core_debugfs and core_debugfs_display_on_off
  tests/core_sysfs: Add GPU-agnostic sysfs testing
  tests/intel/xe_debugfs: Add Xe-specific debugfs test

 docs/code_coverage.md                    |  18 +-
 lib/igt_dir.c                            | 260 ++++++++++++++
 lib/igt_dir.h                            |  61 ++++
 lib/meson.build                          |   1 +
 scripts/code_cov_selftest.sh             |   2 +-
 tests/core_debugfs.c                     |  54 +++
 tests/core_debugfs_display_on_off.c      | 171 +++++++++
 tests/core_sysfs.c                       |  58 +++
 tests/intel-ci/fast-feedback.testlist    |   4 +-
 tests/intel-ci/xe-fast-feedback.testlist |   9 +-
 tests/intel/intel_sysfs_debugfs.c        | 430 -----------------------
 tests/intel/xe_debugfs.c                 | 208 +++++++++++
 tests/intel/xe_test_config.json          |   2 +-
 tests/meson.build                        |   5 +-
 14 files changed, 835 insertions(+), 448 deletions(-)
 create mode 100644 lib/igt_dir.c
 create mode 100644 lib/igt_dir.h
 create mode 100644 tests/core_debugfs.c
 create mode 100644 tests/core_debugfs_display_on_off.c
 create mode 100644 tests/core_sysfs.c
 delete mode 100644 tests/intel/intel_sysfs_debugfs.c
 create mode 100644 tests/intel/xe_debugfs.c

-- 
2.43.0



More information about the igt-dev mailing list