From: Ben Gamari Date: Mon, 14 Sep 2009 21:48:41 +0000 (-0400) Subject: drm/i915: Check whether chip is wedged in i915_wait_request() X-Git-Tag: v2.6.32-rc1~52^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffed1d0920d180962469feb5e14bab7af2e29137;p=pandora-kernel.git 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 Signed-off-by: Ben Gamari Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed