summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-23 22:44:59 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-24 10:37:13 +0000
commitd62f416f925dc615256193c76aebd582ae88bcaf (patch)
tree642b89de18415d9af1596fafaa8b949253e6c6b4 /tools/include
parent60e94557fff1f5514c7fc4da7ddc2c7a13ffff26 (diff)
downloadlinux-stable-d62f416f925dc615256193c76aebd582ae88bcaf.tar.gz
linux-stable-d62f416f925dc615256193c76aebd582ae88bcaf.tar.bz2
linux-stable-d62f416f925dc615256193c76aebd582ae88bcaf.zip
drm/i915: Wait on vma activity before taking the mutex
Optimistically wait for the prior vma activity before taking the mutex to minimise the mutex hold time while unbinding. We will then verify the vma is idle with a second wait under the mutex to ensure it is safe to unbind. 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/20200123224459.38128-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions