drm/i915: Fix hangcheck to handle multiple rings
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 13:44:35 +0000 (14:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Oct 2010 22:29:36 +0000 (23:29 +0100)
commit893eead092f14e42cac054a394a86e3c6e016b68
tree05040650a2ced6fbd27af8fadae226e3d44e9b26
parent7e318e18f248416a3d32a1649a9b4538e7f8b0eb
drm/i915: Fix hangcheck to handle multiple rings

Currently, we believe the GPU is idle if just the RENDER ring is idle.
This is obviously wrong if we only using either the BLT or the BSD
rings and so masking genuine hangs.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_irq.c