commit | 7d0aa0db4375edb0a2de66e9099fe0f9b197b80d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Dec 02 17:43:10 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Dec 02 21:57:22 2019 +0000 |
tree | db109c5b42e02cfc1611124b828ea5daf3c5bd4c | |
parent | 65f6d12c6b0b610c92d6a2c3d964ff2943ac8fbf [diff] |
drm/i915/gem: Unbind all current vma on changing cache-level Avoid dangerous race handling of destroyed vma by unbinding all vma instead. Unfortunately, this stops us from trying to be clever and only doing the minimal change required, so on first use of scanout we may encounter an annoying stall as it transitions to a new cache level. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112413 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191202174310.2630302-1-chris@chris-wilson.co.uk