[igt-dev] [RFC PATCH v9 4/5] lib: ioctl_wrappers: reach engines by index as well

Andi Shyti andi.shyti at intel.com
Thu Feb 14 13:06:14 UTC 2019


Hi Chris,

> > -bool gem_has_ring(int fd, unsigned ring)
> > +bool gem_context_has_engine(int fd, unsigned ring, unsigned ctx)
> 
> Remember to lift it out of ioctl_wrappers, and as this operates on the
> context (given the name), the context should be a primary argument.

All right, I'll put 'gem_context_has_engine()' in
lib/i915/gem_context.c.

Andi


More information about the igt-dev mailing list