diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-09-24 15:46:46 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-09-27 15:04:22 +0100 |
commit | d576b31bdece7b5034047cbe21170e948198d32f (patch) | |
tree | ed48a9154d4df97b1c1c3eadfd31f0b09669f74e | |
parent | 74af1e2c16749514fc8db4fc97e59ce897b73fc9 (diff) | |
download | linux-d576b31bdece7b5034047cbe21170e948198d32f.tar.bz2 |
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 <matthew.auld@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210924144646.4096402-1-matthew.auld@intel.com
-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) |