[igt-dev] [RFC PATCH v10 4/6] lib: ioctl_wrappers: reach engines by index as well
Andi Shyti
andi.shyti at intel.com
Thu Mar 7 15:57:22 UTC 2019
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'.
More information about the igt-dev
mailing list