[RFC v2 i-g-t 0/5] Replace intel_sysfs_debugfs

Peter Senna Tschudin peter.senna at linux.intel.com
Tue May 20 19:29:44 UTC 2025


DO NOT MERGE!

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*)

*** This RFC does not update test lists and does not update blacklists ***

Cc: marcin.bernatowicz at intel.com
Cc: himanshu.girotra at intel.com
Cc: aditya.chauhan at intel.com
Cc: pravalika.gurram at intel.com
Cc: sai.gowtham.ch at intel.com
Cc: ramadevi.gandi at intel.com
Cc: lucas.demarchi at intel.com
Cc: rodrigo.vivi at intel.com
Cc: kamil.konieczny at linux.intel.com
Cc: katarzyna.piecielska at intel.com
Cc: zbigniew.kempczynski 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 testing

 lib/igt_dir.c                       | 260 +++++++++++++++++
 lib/igt_dir.h                       |  61 ++++
 lib/meson.build                     |   1 +
 tests/core_debugfs.c                |  54 ++++
 tests/core_debugfs_display_on_off.c | 171 +++++++++++
 tests/core_sysfs.c                  |  58 ++++
 tests/intel/intel_sysfs_debugfs.c   | 430 ----------------------------
 tests/intel/xe_debugfs.c            | 212 ++++++++++++++
 tests/meson.build                   |   5 +-
 9 files changed, 821 insertions(+), 431 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