diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-08 19:12:52 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-09 14:49:57 +0300 |
commit | d3e483526cd3057936360503e3d7694d0bcb6eb2 (patch) | |
tree | 1783d9b53d790d253c011680ecf0f28f08fc00ed /drivers/gpu/drm/i915/i915_perf.c | |
parent | 16c46fd505fbe33ee480f8bb67aa3807b3507c72 (diff) | |
download | linux-d3e483526cd3057936360503e3d7694d0bcb6eb2.tar.xz |
drm/i915: Change i915_vma_unbind() to report -EAGAIN on activity
If someone else acquires the i915_vma before we complete our wait and
unbind it, we currently error out with -EBUSY. Use -EAGAIN instead so
that if necessary the caller is prepared to try again.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/683
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/20191208161252.3015727-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf.c')
0 files changed, 0 insertions, 0 deletions