drm/i915: Cleanup instdone collection
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 20 Sep 2016 13:54:32 +0000 (16:54 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 21 Sep 2016 12:32:36 +0000 (15:32 +0300)
commitd636951ec01bcb2b7dee02f75ff4815714785a53
treeddccc5b2b934a716791284423861a49715d86128
parent51f592050a523fc5882f9b8b4e9259422e41e848
drm/i915: Cleanup instdone collection

Consolidate the instdone logic so we can get a bit fancier. This patch also
removes the duplicated print of INSTDONE[0].

v2: (Imre)
- Rebased on top of hangcheck INSTDONE changes.
- Move all INSTDONE registers into a single struct, store it within the
  engine error struct during error capturing.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1474379673-28326-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.h