[Intel-gfx] [PATCH igt v2] igt/gem_exec_schedule: Exercise "deep" preemption
Chris Wilson
chris at chris-wilson.co.uk
Tue Feb 27 13:41:04 UTC 2018
Quoting Mika Kuoppala (2018-02-27 13:25:35)
> > uint32_t result = gem_create(fd, 4096);
> > @@ -981,12 +1117,26 @@ igt_main
> > igt_subtest_f("preempt-contexts-%s", e->name)
> > preempt(fd, e->exec_id | e->flags, NEW_CTX);
> >
> > - igt_subtest_f("preempt-other-%s", e->name)
> > - preempt_other(fd, e->exec_id | e->flags);
> > -
> > igt_subtest_f("preempt-self-%s", e->name)
> > preempt_self(fd, e->exec_id | e->flags);
> >
> > + igt_subtest_f("preempt-other-%s", e->name)
> > + preempt_other(fd, e->exec_id | e->flags, 0);
> > +
> > + igt_subtest_f("preempt-other-chain-%s", e->name)
> > + preempt_other(fd, e->exec_id | e->flags, CHAIN);
> > +
> > + igt_subtest_f("preempt-queue-%s", e->name)
> > + preempt_queue(fd, e->exec_id | e->flags, 0);
> > +
> > + igt_subtest_f("preempt-queue-chain-%s", e->name)
> > + preempt_queue(fd, e->exec_id | e->flags, CHAIN);
> > + igt_subtest_f("preempt-contexts-%s", e->name)
>
> This will collide with the same name as the test above:
> preempt(fd, e->exec_id | e->flags, NEW_CTX);
Imagine it as preempt-queue-contexts-* then. Thanks,
-Chris
More information about the Intel-gfx
mailing list