Commit b1177636 authored by Eric Anholt's avatar Eric Anholt Committed by Dave Airlie
Browse files

drm/i915: Don't double-unpin buffers if we take a signal in evict_everything().

We haven't seen this in practice, but it was visible when looking at a bug
report from when i915_gem_evict_everything() was broken and would always
return error.
Signed-off-by: default avatarEric Anholt <>
Signed-off-by: default avatarDave Airlie <>
parent e7da40f0
......@@ -2498,6 +2498,7 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
/* unpin all of our buffers */
for (i = 0; i < pinned; i++)
pinned = 0;
/* evict everyone we can from the aperture */
ret = i915_gem_evict_everything(dev);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment