]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush the i915_vm_release before ggtt shutdown
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Jul 2019 13:24:12 +0000 (14:24 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Jul 2019 14:56:48 +0000 (15:56 +0100)
commit92aebb1e3c88b06e1bf07f1e848bd2e39197f6d3
tree4b5aab2c581bf45bccd00961e6814ea81c9a1f86
parent1829a7bcaa76895b121c63d0854683c5c89748e8
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: 9065245b12d7 ("drm/i915/gtt: Defer address space cleanup to an RCU worker")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190729132412.23380-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c