From: Chris Wilson Date: Fri, 1 Oct 2010 13:57:56 +0000 (+0100) Subject: drm/i915: If the GPU hangs twice within 5 seconds, declare it wedged. X-Git-Tag: v2.6.37-rc1~92^2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae681d969ac0946e09636f2bef7a126d73e1ad6b;p=pandora-kernel.git drm/i915: If the GPU hangs twice within 5 seconds, declare it wedged. The issue is that we may become stuck executing a long running shader and continually attempt to reset the GPU. (Or maybe we tickle some bug and need to break the vicious cycle.) So if we are detect a second hang within 5 seconds, give up trying to programme the GPU and report it wedged. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed