drm/i915: Trigger hangcheck if we detect more a repeating missed IRQ
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Apr 2012 16:00:41 +0000 (17:00 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 15 Apr 2012 17:37:37 +0000 (19:37 +0200)
commitd1e61e7fc4456c4cb9a33ed182edf40e34ddedea
tree24210178e48521c970b66c4c673b9cbff9a2bb2a
parent56fa6d6ff76c7700f8dd131bee9ffa6c3c06dcd4
drm/i915: Trigger hangcheck if we detect more a repeating missed IRQ

On the first instance we just wish to kick the waiters and see if that
terminates the wait conditions. If it does not, then we do not want to
keep retrying without ever making any forward progress and becoming
stuck in a hangcheck loop.

Reported-and-tested-by: Lukas Hejtmanek <xhejtman@fi.muni.cz>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48209
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c