diff mbox series

[5/8] drm/i915: remember to call i915_sw_fence_fini

Message ID 20210913180605.2778493-5-matthew.auld@intel.com (mailing list archive)
State New, archived
Headers show
Series [1/8] drm/i915/gem: Break out some shmem backend utils | expand

Commit Message

Matthew Auld Sept. 13, 2021, 6:06 p.m. UTC
Fixes some object-debug splat which appeared while debugging something
unrelated.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
---
 drivers/gpu/drm/i915/gt/intel_context.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/gt/intel_context.c b/drivers/gpu/drm/i915/gt/intel_context.c
index 745e84c72c90..0e7dd12a0871 100644
--- a/drivers/gpu/drm/i915/gt/intel_context.c
+++ b/drivers/gpu/drm/i915/gt/intel_context.c
@@ -420,6 +420,7 @@  void intel_context_fini(struct intel_context *ce)
 
 	mutex_destroy(&ce->pin_mutex);
 	i915_active_fini(&ce->active);
+	i915_sw_fence_fini(&ce->guc_blocked);
 }
 
 void i915_context_module_exit(void)