drm/i915: Flush the i915_vm_release before ggtt shutdown
Subsystems (2)
PATCH 1/1 drm/i915: Flush the i915_vm_release before ggtt shutdown
As the gen6_ppgtt may refer back to the GGTT for their page-directory slots, make sure those __i915_vm_release are completed prior to shutting down the GGTT.
Fixes b32fa8111563 ("drm/i915/gtt: Defer address space cleanup to an RCU worker")
Signed-off-by Chris Wilson <[email protected]>
Cc Tvrtko Ursulin <[email protected]>
--- drivers/gpu/drm/i915/i915_gem_gtt.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_gem_gtt.c +1 -0
@@ -2720,6 +2720,7 @@ static void ggtt_cleanup_hw(struct i915_ggtt *ggtt)struct i915_vma *vma, *vn; ggtt->vm.closed = true; +flush_workqueue (i915->wq);/* flush the __i915_vm_release */ mutex_lock (&i915->drm.struct_mutex);
Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx