drm/i915: track ring progression using seqnos
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 24 May 2013 14:16:07 +0000 (17:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:53:54 +0000 (20:53 +0200)
commit92cab7345131db7af18f630a799ce6b2e8e624c5
treed61c1ac94941db3bdcbbae8753a2864557ed0b67
parent79ee20dc85072b0edfb5e461799d192a9cc9d422
drm/i915: track ring progression using seqnos

Instead of relying in acthd, track ring seqno progression
to detect if ring has hung.

v2: put hangcheck stuff inside struct (Chris Wilson)

v3: initialize hangcheck.seqno (Ben Widawsky)

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h