drm/i915: Fix retrieval of hangcheck stats
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2013 14:22:06 +0000 (17:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jul 2013 08:40:25 +0000 (10:40 +0200)
commit11fa3384042f5578e0f6179eef70cbcb2892be92
tree9ea0dd7e89c0eb98a0111d48923d9880848cdea2
parenteb4926e4a6e3922398fd6880f07a84db95aa3741
drm/i915: Fix retrieval of hangcheck stats

The default context is always supported (as it contains the global
hangcheck stats) and the contexts for hangcheck are not limited
to any ring.

References: https://bugs.freedesktop.org/show_bug.cgi?id=65845
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c