]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 25 May 2013 11:24:52 +0000 (13:24 +0200)
commitf6fccec0256c8754a8f39776070bd5ecf2eed28a
treefd9f0ec223f026417ffffb782c75184f83f8686c
parentaf89baf3277a42ac724b92e3101ba8a7db734b5d
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