Quoting Mika Kuoppala (2019-04-16 16:01:58)
> Add subtests to resend the same spinner to same context
> and to other context.
>
> v2: other engines (Chris)
>
> Cc: Chris Wilson <[email protected]>
> Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
> + igt_subtest_f("resubmit-%s", e->name)
> + spin_resubmit(fd, e->exec_id, 0);
> +
> + igt_subtest_f("resubmit-new-%s", e->name)
> + spin_resubmit(fd, e->exec_id, RESUBMIT_NEW_CTX);
> +
> + igt_subtest_f("resubmit-all-%s", e->name)
> + spin_resubmit(fd, e->exec_id, RESUBMIT_ALL_ENGINES);
> +
> + igt_subtest_f("resubmit-new-all-%s", e->name)
> + spin_resubmit(fd, e->exec_id,
> + RESUBMIT_NEW_CTX |
> + RESUBMIT_ALL_ENGINES);
You are getting close to wanting a loop here :)
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx