[igt-dev] [PATCH i-g-t 0/5] Add tests for scheduler control interface

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Sun Jun 25 12:29:43 UTC 2023


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

New lib function has been added to iterate over sysfs/engines.
Added 4 new tests to validate basic scheduler control interface and its defaults.

v2: Adjust space issues.

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>

Priyanka Dandamudi (5):
  lib/igt_sysfs: Add support to iterate over engines
  xe/xe_sysfs_defaults: Verify .defaults in engines directory
  xe/xe_sysfs_preempt_timeout: Verify preempt_timeout
  xe/xe_sysfs_timeslice: Verify timeslice_duration
  xe/xe_sysfs_job_timeout: Verify job_timeout

 lib/igt_sysfs.c                     |  35 +++++++
 lib/igt_sysfs.h                     |   3 +
 tests/meson.build                   |   4 +
 tests/xe/xe_sysfs_defaults.c        | 105 +++++++++++++++++++++
 tests/xe/xe_sysfs_job_timeout.c     | 138 +++++++++++++++++++++++++++
 tests/xe/xe_sysfs_preempt_timeout.c | 139 ++++++++++++++++++++++++++++
 tests/xe/xe_sysfs_timeslice.c       | 138 +++++++++++++++++++++++++++
 7 files changed, 562 insertions(+)
 create mode 100644 tests/xe/xe_sysfs_defaults.c
 create mode 100644 tests/xe/xe_sysfs_job_timeout.c
 create mode 100644 tests/xe/xe_sysfs_preempt_timeout.c
 create mode 100644 tests/xe/xe_sysfs_timeslice.c

-- 
2.25.1



More information about the igt-dev mailing list