[PATCH v3 i-g-t 0/2] Fix xe_eudebug_online at interrupt-other test

Dominik Karol Piątkowski dominik.karol.piatkowski at intel.com
Mon Oct 7 10:27:32 UTC 2024


xe_eudebug_online at interrupt-other test fails due to preemption
interfering with it.

In order to fix it, set the preempt_timeout_us for engine_class used in
this test to maximum for the duration of the test.

This series introduces the following engine_class helpers:
 - xe_sysfs_engine_class_get_property
   Convenience wrapper to get value of given property for given engine
   class on given gt.
 - xe_sysfs_engine_class_set_property
   Convenience wrapper to set given property for given engine class on
   given gt to given value.

v2:
   -Move helpers from lib/xe_eudebug to lib/igt_sysfs
   -Improve readability in xe_eudebug_online adjust commit
   -Add justification in message of xe_eudebug_online adjust commit
v3:
   -Apply nits from Dominik Grzegorzek
    (patch "tests/xe_eudebug_online: Adjust interrupt-other test")

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>

Dominik Karol Piątkowski (2):
  lib/igt_sysfs: Introduce engine_class property helpers
  tests/xe_eudebug_online: Adjust interrupt-other test

 lib/igt_sysfs.c                 | 85 +++++++++++++++++++++++++++++++++
 lib/igt_sysfs.h                 |  5 ++
 tests/intel/xe_eudebug_online.c | 39 ++++++++++++++-
 3 files changed, 127 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list