diff options
author | Matthew Auld <[email protected]> | 2021-09-24 15:46:46 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2021-09-27 15:04:22 +0100 |
commit | d576b31bdece7b5034047cbe21170e948198d32f (patch) | |
tree | ed48a9154d4df97b1c1c3eadfd31f0b09669f74e | |
parent | 74af1e2c16749514fc8db4fc97e59ce897b73fc9 (diff) |
drm/i915: remember to call i915_sw_fence_fini
Seems to fix some object-debug splat which appeared while debugging
something unrelated.
v2: s/guc_blocked/guc_state.blocked/
Signed-off-by: Matthew Auld <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Matthew Brost <[email protected]>
Tested-by: Ville Syrjälä <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/gt/intel_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_context.c b/drivers/gpu/drm/i915/gt/intel_context.c index ff637147b1a9..e9a0cad5c34d 100644 --- a/drivers/gpu/drm/i915/gt/intel_context.c +++ b/drivers/gpu/drm/i915/gt/intel_context.c @@ -419,6 +419,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_state.blocked); } void i915_context_module_exit(void) |