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

Upadhyay, Tejas tejas.upadhyay at intel.com
Mon Jun 26 10:13:56 UTC 2023



> -----Original Message-----
> From: Dandamudi, Priyanka <priyanka.dandamudi at intel.com>
> Sent: Sunday, June 25, 2023 4:43 PM
> To: Kumar, Janga Rahul <janga.rahul.kumar at intel.com>; Upadhyay, Tejas
> <tejas.upadhyay at intel.com>; igt-dev at lists.freedesktop.org; Dandamudi,
> Priyanka <priyanka.dandamudi at intel.com>
> Subject: [PATCH i-g-t 0/5] Add tests for scheduler control interface
> 
> 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.
> 
> 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

These basic tests are enough, though one basic test for min/max cap range would complete basic test requirement here.

Thanks,
Tejas
> 
>  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