diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-04 15:35:56 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-04 20:30:31 +0300 |
commit | aa5e4453dc055e188c792c3e5f1b256436332a59 (patch) | |
tree | 0b52740f5b6ea9c5eabe5b2977b66d04b4ff4c4c /drivers/gpu/drm/i915/gem/i915_gem_domain.c | |
parent | cc662126b4134e25fcfb6cad480de0fa95a4d3d8 (diff) | |
download | linux-aa5e4453dc055e188c792c3e5f1b256436332a59.tar.xz |
drm/i915/gem: Try to flush pending unbind events
If we cannot handle a vma within the unbind loop, try to flush the
pending events (i915_vma_parked, i915_vm_release) and try again. This
avoids a round trip to userspace that is not guaranteed to make forward
progress, as the events we wait upon require being idle.
References: cb6c3d45f948 ("drm/i915/gem: Avoid parking the vma as we unbind")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204123556.3740002-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_domain.c')
0 files changed, 0 insertions, 0 deletions