[PATCH v6 i-g-t 0/6] Replace intel_sysfs_debugfs

Peter Senna Tschudin peter.senna at linux.intel.com
Wed Jul 16 09:36:48 UTC 2025


This series:
 - moves shared function to lib/igt_dir
 - creates gpu agnostic tests
   - core_debugfs
   - core_sysfs
   - kms_debugfs
 - creates xe_debugfs (complementary to core_debugfs and kms_debugfs)
 - Updates testlists and scripts
 - deletes tests/intel_sysfs_debugfs

Cc: kamil.konieczny at linux.intel.com
Cc: katarzyna.piecielska at intel.com
Cc: zbigniew.kempczynski at intel.com
Cc: michal.wajdeczko at intel.com
Cc: karthik.b.s at intel.com
Cc: ewelina.musial at intel.com

Simplified changelog:
v6:
 - use the new testlist names
 - kms_debugfs: use the new igt_fit_modes_in_bw()
v5:
 - Added igt_dir_process_files_simple()
v4:
 - kms_debugfs: small changes
v3:
 - kms_debugfs: varios small changes
v2:
 - change comparison to NULL style

Peter Senna Tschudin (6):
  lib/igt_dir: utilities for directory traversal and file handling
  tests: Add core_debugfs
  tests: Add kms_debugfs
  tests: Add core_sysfs
  tests: Add xe_debugfs
  tests/intel: Remove intel_sysfs_debugfs

 docs/code_coverage.md                      |  18 +-
 lib/igt_dir.c                              | 347 +++++++++++++++++
 lib/igt_dir.h                              |  62 +++
 lib/meson.build                            |   1 +
 scripts/code_cov_selftest.sh               |   2 +-
 tests/core_debugfs.c                       |  48 +++
 tests/core_sysfs.c                         |  48 +++
 tests/intel-ci/i915.fast-feedback.testlist |   4 +-
 tests/intel-ci/xe-fast-feedback.testlist   |   8 +-
 tests/intel/intel_sysfs_debugfs.c          | 430 ---------------------
 tests/intel/xe_debugfs.c                   | 207 ++++++++++
 tests/intel/xe_test_config.json            |   2 +-
 tests/kms_debugfs.c                        | 133 +++++++
 tests/meson.build                          |   5 +-
 14 files changed, 867 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_sysfs.c
 delete mode 100644 tests/intel/intel_sysfs_debugfs.c
 create mode 100644 tests/intel/xe_debugfs.c
 create mode 100644 tests/kms_debugfs.c

-- 
2.43.0



More information about the igt-dev mailing list