[igt-dev] [PATCH i-g-t v6] lib: Move __gem_context_create to common ioctl wrapper library.

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 7 08:27:13 UTC 2018


Quoting Antonio Argenziano (2018-02-07 00:27:14)
> This patch adds a context creation ioctl wrapper that returns the error
> for the caller to consume. Multiple tests that implemented this already,
> have been changed to use the new library function.
> 
> v2:
>         - Add gem_require_contexts() to check for contexts support (Chris)
> 
> v3:
>         - Add gem_has_contexts to check for contexts support and change
>           gem_require_contexts to skip if contests support is not available.
>           (Chris)
> 
> v4:
>         - Cosmetic changes and use lib function in gem_ctx_create where
>           possible. (Michal)
> 
> v5:
>         - Use gem_contexts_require() in tests and fixtures. (Chris)
> 
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michał Winiarski <michal.winiarski at intel.com>
> 
> Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

Pushed while it was still hot. Thanks for fixing up the requires, that
has been bugging me for a few years!
-Chris


More information about the igt-dev mailing list