[PATCH i-g-t] tests/intel/xe_compute_preempt: Check skip condition from parent process
nakshtra.goyal at intel.com
nakshtra.goyal at intel.com
Tue Apr 30 07:53:10 UTC 2024
From: Nakshtra Goyal <nakshtra.goyal at intel.com>
Check test is supported on a platform or not from parent process
and run test once from parent process before creating child processes as
skip check is not allowed from child processes
Signed-off-by: Nakshtra Goyal <nakshtra.goyal at intel.com>
---
tests/intel/xe_compute_preempt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/intel/xe_compute_preempt.c b/tests/intel/xe_compute_preempt.c
index 78b19158d..3817b5a30 100644
--- a/tests/intel/xe_compute_preempt.c
+++ b/tests/intel/xe_compute_preempt.c
@@ -63,6 +63,7 @@ igt_main
continue;
igt_dynamic_f("engine-%s", xe_engine_class_string(hwe->engine_class)) {
+ test_compute_preempt(xe, hwe, false);
igt_fork(child, 100)
test_compute_preempt(xe, hwe, false);
igt_waitchildren();
--
2.34.1
More information about the igt-dev
mailing list