]> 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)
commit0d28dc0ee5b29d6c3da1c92c49dc2debe5deb9f6
tree07fee32a0e159f713bc4986077fcc12a6936c1e8
parent4d5b54fb543548ed6e173bc100225e359293dc95
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