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)
commitdf8cf31e749788d8de8c3028e530e6fd9ef8bc79
tree07fee32a0e159f713bc4986077fcc12a6936c1e8
parentf3bcb0cccd36c6eb6e3afbd61f83eeca32d6cc50
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