Skip to content
Commit d9bc7e9f authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Fix infinite loop regression from 21dd3734



By returning EAGAIN upon a wedged GPU before attempting to wait, we
would hit an infinite loop of repeating operation without ever
progressing. Instead this needs to be EIO so that userspace knows that
the GPU is truly wedged and not in the process of error recovery.

Similarly, we need to handle the error recovery during i915_gem_fault.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent dcbe6f2b
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