[PATCH v2 i-g-t 0/3] Add sysfs node checks for gt_freq and pm_residency tests
Marcin Bernatowicz
marcin.bernatowicz at linux.intel.com
Thu Aug 1 10:27:45 UTC 2024
This patch series introduces necessary node checks to ensure that tests
are only executed when specific sysfs nodes are present. This prevents
test failures on Virtual Function (VF) devices where these nodes might
be missing.
v2: Use "node" instead of "attribute" for more accuracy
Marcin Bernatowicz (3):
lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existence
tests/intel/xe_gt_freq: Skip test if 'freq0' node is missing
tests/intel/xe_pm_residency: Skip test if 'gtidle' node is missing
lib/igt_sysfs.c | 26 ++++++++++++++++++++++++++
lib/igt_sysfs.h | 1 +
tests/intel/xe_gt_freq.c | 1 +
tests/intel/xe_pm_residency.c | 2 ++
4 files changed, 30 insertions(+)
--
2.31.1
More information about the igt-dev
mailing list