drm/i915: Simplify cleanup path in intel_engines_init
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 16 Feb 2017 12:23:22 +0000 (12:23 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 17 Feb 2017 11:39:59 +0000 (11:39 +0000)
commit8ee7c6e23bb1b3c37ef27e81395db056bd7eac53
tree534610a1b460eb836d646d1949c4cefbb5a482db
parent2f35afe94af0f7dc451253d848af442e5d7a7715
drm/i915: Simplify cleanup path in intel_engines_init

We can call the engine cleanup vfunc instead of duplicating the
decision making here.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_engine_cs.c