[PATCH i-g-t] tests/intel/xe_compute_preempt: Check skip condition from parent process
Kumar, Janga Rahul
janga.rahul.kumar at intel.com
Thu May 2 06:54:21 UTC 2024
> -----Original Message-----
> From: Goyal, Nakshtra <nakshtra.goyal at intel.com>
> Sent: Tuesday, April 30, 2024 1:23 PM
> To: igt-dev at lists.freedesktop.org; Gandi, Ramadevi
> <ramadevi.gandi at intel.com>; Kumar, Janga Rahul
> <janga.rahul.kumar at intel.com>
> Subject: [PATCH i-g-t] tests/intel/xe_compute_preempt: Check skip condition
> from parent process
>
> 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>
LGTM,
Reviewed-by: Janga Rahul Kumar <janga.rahul.kumar 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