]> 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)
commit3d72df615863c74e44062a39e946539319f25a0a
tree46df524faadafbca4e3b2be4c26db2d57575b296
parentdb2573a6050716e5f1c018f4f9630e32ea45f952
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