[Intel-gfx] [PATCH 5/7] drm/i915: Move allocation of various workqueues earlier during init

David Weinehall david.weinehall at linux.intel.com
Fri Jan 22 04:19:44 PST 2016


On Tue, Jan 19, 2016 at 03:26:30PM +0200, Imre Deak wrote:
> Workqueue initalization doesn't depend on any other device specific
> resource, so move it close to the beginning, so we don't need to
> consider them when thinking about dependencies for other resources.
> 
> Also factor out things to separate init/cleanup functions to make
> i915_driver_load()/unload() clearer, atm it's somewhat difficult to
> follow there in what order resources are inited/cleaned-up.
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

Reviewed-by: David Weinehall <david.weinehall at intel.com>


More information about the Intel-gfx mailing list