]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove obsolete engine cleanup
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jul 2019 07:00:10 +0000 (08:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Jul 2019 22:16:06 +0000 (23:16 +0100)
commit4d5b54fb543548ed6e173bc100225e359293dc95
tree46df524faadafbca4e3b2be4c26db2d57575b296
parentf28c7ae4591d6999e105fa516b3a2389ff7428f1
drm/i915: Remove obsolete engine cleanup

Remove the outer layer cleanup of engine stubs; as i915_drv itself no
longer tries to preallocate and so is not responsible for either the
allocation or free. By the time we call the cleanup function, we already
have cleaned up the engines.

v2: Lack of symmetry between mmio_probe and mmio_release for handling
the error cleanup. engine->destroy() is a compound function that is
called earlier in the normal release as it ties together other bits of
state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190718070024.21781-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c