drm/i915: Flatten engine init control flow
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Nov 2014 23:33:08 +0000 (00:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Dec 2014 08:35:29 +0000 (09:35 +0100)
commitbfc882b4e30fbc169ecfe3508378623743806f56
tree40cd52c97a63bcec651da7da71cebf9199ccf6fe
parent36d0a82ef4dbe8a586b1ca538cbd37c889829340
drm/i915: Flatten engine init control flow

Now that sanity prevails and we have the clean split between software
init and starting the engines we can drop all the "have we allocate
this struct already?" nonsense.

Execlist code could benefit quite a bit more still, but that's for
another patch.

Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c