[igt-dev] [PATCH v21 2/6] lib/i915: add gem_engine_topology library and for_each loop definition

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 16 15:21:15 UTC 2019


Quoting Andi Shyti (2019-04-16 16:11:24)
> +void gem_unset_context_engines(int fd, uint32_t ctx)
> +{
> +       gem_context_destroy(fd, ctx);
> +}

That's a little surprising. I certainly would not expect my context to
be destroyed just to reset the engines back to default.

On the Rusty scale that would be
	-7. The obvious use is wrong.
-Chris


More information about the igt-dev mailing list