]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit032500b6c2b3b64e68e2612ac20c1e53294921e4
tree24210178e48521c970b66c4c673b9cbff9a2bb2a
parent31a9dc86f6ac4f2ac67c71cab4b3474e787f1c03
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