commit | ffed1d0920d180962469feb5e14bab7af2e29137 | [log] [tgz] |
---|---|---|
author | Ben Gamari <bgamari.foss@gmail.com> | Mon Sep 14 17:48:41 2009 -0400 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 17 14:33:52 2009 -0700 |
tree | 71cd35575969ed5e288fd9069afad79defc27059 | |
parent | 078a033f45471c44befd72ccacf3f31d75299dba [diff] |
drm/i915: Check whether chip is wedged in i915_wait_request() i915_wait_request() only checks mm.wedged after it interacts with the hardware, generally causing the driver to lock up waiting for a wedged chip. Make sure we check mm.wedged as the first thing we do. Reported-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ben Gamari <bgamari.foss@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>