drm/i915: Fix retrieval of hangcheck stats
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Jun 2017 13:28:49 +0000 (14:28 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Jun 2017 15:22:43 +0000 (16:22 +0100)
commit4c9c0d09741deab0aac76b83961cfe95b24f3e6f
treeaedb509c2668c22ae82d07179b050a8743d11dc3
parent7fc92e96c3eed6004ce8dab5e315264bff85db5a
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.

This was dropped in 2013 because it was supposed to have been included
with Ben's full-ppgtt patch set. It never landed and the bug remains.

References: https://bugs.freedesktop.org/show_bug.cgi?id=65845
Link: http://patchwork.freedesktop.org/patch/msgid/1372175222-27622-1-git-send-email-mika.kuoppala@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170616132849.29597-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c