commit | ae681d969ac0946e09636f2bef7a126d73e1ad6b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 01 14:57:56 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 01 14:57:56 2010 +0100 |
tree | dc26ce897c7b46a515665e6c56f11d1493f5bdb2 | |
parent | 2fa772f34042cd4ddfb4ffaf5c24f0ce8c1025e9 [diff] |
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 <chris@chris-wilson.co.uk>