[Intel-gfx] [PATCH i-g-t v2] igt_core: add igt_constructor
Chris Wilson
chris at chris-wilson.co.uk
Fri Dec 23 13:57:09 UTC 2016
On Wed, Dec 21, 2016 at 03:50:18PM -0500, Lyude wrote:
> This is a simple macro for executing a block of code at the beginning of
> intel-gpu-tools, before any tests have been ran. Useful for
> initialization of global resources used in IGT libraries.
>
> Signed-off-by: Lyude <lyude at redhat.com>
>
> Changes since v1:
> - Add the line number into the name of the constructor function so that
> multiple constructors may be used per-file.
Works for me,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list