[igt-dev] [PATCH i-g-t 0/3] Add tests for scheduler control interface
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Thu Jun 29 05:43:36 UTC 2023
From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
New lib function has been added to iterate over sysfs/engines.
Added 2 new tests to validate basic scheduler control interface and its defaults.
v2: Adjust space issues.
v3: Addressed Kamil and Rahul review comments.
Modified existing tests and made all 3 scheduler tests into one
xe_sysfs_scheduler.
v4: Added debug print in default test to print the default property
values.
Added code to reset to original min/max values after test.(Rahul)
Cc: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Reviewed-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
Priyanka Dandamudi (3):
lib/igt_sysfs: Add support to iterate over engines
xe/xe_sysfs_defaults: Verify .defaults in engines directory
xe/xe_sysfs_scheduler: Verify scheduler control interface
lib/igt_sysfs.c | 47 ++++++++
lib/igt_sysfs.h | 3 +
tests/meson.build | 2 +
tests/xe/xe_sysfs_defaults.c | 90 +++++++++++++++
tests/xe/xe_sysfs_scheduler.c | 211 ++++++++++++++++++++++++++++++++++
5 files changed, 353 insertions(+)
create mode 100644 tests/xe/xe_sysfs_defaults.c
create mode 100644 tests/xe/xe_sysfs_scheduler.c
--
2.25.1
More information about the igt-dev
mailing list