[igt-dev] [PATCH V5] i915/gem_exec_nop:Adjusted test to utilize all available engines

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 28 12:24:30 UTC 2020


Quoting Arjun Melkaveri (2020-01-28 12:08:49)
> @@ -621,10 +626,7 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout)
>         igt_require(__gem_execbuf(fd, &execbuf) == 0);
>  
>         if (flags & CONTEXT) {
> -               uint32_t id;
> -
> -               igt_require(__gem_context_create(fd, &id) == 0);
> -               execbuf.rsvd1 = id;
> +               execbuf.rsvd1 = gem_context_clone_with_engines(fd, 0);

So where's the skip for machines without context support?
-Chris


More information about the igt-dev mailing list