Re: [igt-dev] [RFC PATCH v10 4/6] lib: ioctl_wrappers: reach engines by index as well

Andi Shyti
2019-03-07T15:57:24Z

Hi again :)

> #define gem_has_ring(fd, ring) gem_context_has_engine(fd, ring, 0) (*)

Another advantage of this define is that before we didn't have a
"gem_has_ring" by class/instance, now, with just a define, we do
and we are also back-compatible.

Andi

PS I will still move this define to 'lib/i915/gem_engine_topology.h'.