[igt-dev] [RFC PATCH v7 3/5] lib: ioctl_wrappers: check GET/SETPARAM ioctl and build active engine list

Chris Wilson chris at chris-wilson.co.uk
Mon Feb 11 23:16:42 UTC 2019


Quoting Andi Shyti (2019-02-11 23:08:09)
> The igt_require_gem_engine_list() is called whenever the test
> wants to use the GET/SETPARAM ioctls.
> 
> The function checks whether the GET/SETPARAM are implemented in
> the running kernel and stops the test in case these commands are
> not supported.
> 
> At the first call it creates the current engine list as
> implemented in the gem_init_engine_list() function.
> 
> Signed-off-by: Andi Shyti <andi.shyti at intel.com>
> ---
>  lib/ioctl_wrappers.c | 7 +++++++
>  lib/ioctl_wrappers.h | 1 +

No new additions to ioctl_wrappers.c please. If we are generalising an
existing interface, pull it out into i915/ and add your additions there.
-Chris


More information about the igt-dev mailing list