Commit 15c35334 authored by Owain Ainsworth's avatar Owain Ainsworth Committed by Dave Airlie

drm/i915: Don't return error in evict_everything when we get to the end.

Returning -ENOMEM errored all the way out of execbuf, so the rendering never
occurred.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent fae7043c
......@@ -1104,6 +1104,8 @@ i915_gem_evict_everything(struct drm_device *dev)
if (ret != 0)
break;
}
if (ret == -ENOMEM)
return 0;
return ret;
}
......
Markdown is supported
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