]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: store ring hangcheck action
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 12 Jun 2013 09:35:32 +0000 (12:35 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Jun 2013 15:42:17 +0000 (17:42 +0200)
commitad8beaeada276b4b2d31e1c3422346e8829a67d6
tree3ac202e31388858869190edc1f04ae8ae6359d00
parent7d736f4f0b405b1421d280632ef077eb8135e5c6
drm/i915: store ring hangcheck action

For guilty batchbuffer analysis later on when rings are reset,
store what state the ring was on when hang was declared.
This helps to weed out the waiting rings from the active ones.

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