[Intel-gfx] [PATCH] drm/i915/execlists: Refactor common engine setup

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 28 17:04:07 UTC 2016


On Thu, Apr 28, 2016 at 05:12:28PM +0100, Dave Gordon wrote:
> On 28/04/16 14:47, Chris Wilson wrote:
> >-	/* Intentionally left blank. */
> >-	engine->buffer = NULL;
> >
> >  	engine->dev = dev;
> 
> Eeep! Isn't this the "engine initialised and ready for use" flag?

The same that we set to NULL if the initialisation subsequently fails.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list