]> 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)
commit17e063c08bdc16abfa4411eba5f273cc64b33ba6
tree24210178e48521c970b66c4c673b9cbff9a2bb2a
parent9f344b148017cf2bbb5632bde1c21bfd81b9a1b4
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