summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_debug.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-07 13:09:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-07 14:33:55 +0000
commitd9bc7e9f32716901c617e1f0fb6ce0f74f172686 (patch)
tree70cda44be76ffa39b0efc03137732b842e5d8b6e /drivers/gpu/drm/i915/i915_gem_debug.c
parentdcbe6f2b3d136995915e2f9ecc7d4f3b28f47b6c (diff)
downloadop-kernel-dev-d9bc7e9f32716901c617e1f0fb6ce0f74f172686.zip
op-kernel-dev-d9bc7e9f32716901c617e1f0fb6ce0f74f172686.tar.gz
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: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud