Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 i-g-t 0/2] Fix xe_eudebug_online@interrupt-other test
@ 2024-10-07 10:27 Dominik Karol Piątkowski
  2024-10-07 10:27 ` [PATCH v3 i-g-t 1/2] lib/igt_sysfs: Introduce engine_class property helpers Dominik Karol Piątkowski
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Dominik Karol Piątkowski @ 2024-10-07 10:27 UTC (permalink / raw)
  To: igt-dev
  Cc: Zbigniew Kempczyński, Dominik Grzegorzek,
	Christoph Manszewski, Pawel Sikora, Jonathan Cavitt,
	Dominik Karol Piątkowski

xe_eudebug_online@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@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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-11 10:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 10:27 [PATCH v3 i-g-t 0/2] Fix xe_eudebug_online@interrupt-other test Dominik Karol Piątkowski
2024-10-07 10:27 ` [PATCH v3 i-g-t 1/2] lib/igt_sysfs: Introduce engine_class property helpers Dominik Karol Piątkowski
2024-10-07 11:46   ` Grzegorzek, Dominik
2024-10-11 10:48   ` Kamil Konieczny
2024-10-07 10:27 ` [PATCH v3 i-g-t 2/2] tests/xe_eudebug_online: Adjust interrupt-other test Dominik Karol Piątkowski
2024-10-07 18:50 ` ✓ Fi.CI.BAT: success for Fix xe_eudebug_online@interrupt-other test (rev3) Patchwork
2024-10-07 18:58 ` ✓ CI.xeBAT: " Patchwork
2024-10-08  7:58 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-08 17:32 ` ✗ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox