]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Hook up intel_context_fini()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jul 2019 07:00:06 +0000 (08:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Jul 2019 22:20:07 +0000 (23:20 +0100)
commitce55369bc8a3f106d736b2ee82e95a5f6c2336ba
tree07fee32a0e159f713bc4986077fcc12a6936c1e8
parent3d72df615863c74e44062a39e946539319f25a0a
drm/i915/gt: Hook up intel_context_fini()

Prior to freeing the struct, call the fini function to cleanup the
common members. Currently this only calls the debug functions to mark
the structs as destroyed, but may be extended to real work in future.

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-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_context.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_ringbuffer.c
drivers/gpu/drm/i915/gt/mock_engine.c