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

Dominik Karol Piątkowski dominik.karol.piatkowski at intel.com
Thu Sep 26 12:18:44 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 preempt_timeout helpers:
 - xe_eudebug_set_preempt_timeout_to_max
   Sets preempt_timeout_us for given engine_class to maximum.
 - xe_eudebug_restore_preempt_timeout
   Sets preempt_timeout_us for given engine_class to previous value.

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

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

 lib/xe/xe_eudebug.c             | 120 ++++++++++++++++++++++++++++++++
 lib/xe/xe_eudebug.h             |   3 +
 tests/intel/xe_eudebug_online.c |  13 +++-
 3 files changed, 135 insertions(+), 1 deletion(-)

-- 
2.34.1



More information about the igt-dev mailing list