drm/i915: Try to print INSTDONE bits for all slice/subslice
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 20 Sep 2016 13:54:33 +0000 (16:54 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 21 Sep 2016 12:33:29 +0000 (15:33 +0300)
commitf9e613728090e7fe4e755bf56df17cbc277bac3f
tree1fb481bdef33d219a757edb03d78c638c5354a78
parentd636951ec01bcb2b7dee02f75ff4815714785a53
drm/i915: Try to print INSTDONE bits for all slice/subslice

v2: (Imre)
- Access only subslices that are known to exist.
- Reset explicitly the MCR selector to slice/sub-slice ID 0 after the
  readout.
- Use the subslice INSTDONE bits for the hangcheck/subunits-stuck
  detection too.
- Take the uncore lock for the MCR-select/subslice-readout sequence.

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-2-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
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