drm/i915: avoid unclaimed registers when capturing the error state
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 20 Dec 2013 17:09:41 +0000 (15:09 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 7 Jan 2014 14:30:27 +0000 (15:30 +0100)
commit38cc1daf0c9d22b05b00fcb72744003d7b63fece
tree7c86ead68a27e4455390dc5c1818244c96f8cb32
parent304d695c3dc8eb65206b9eaf16f8d1a41510d1cf
drm/i915: avoid unclaimed registers when capturing the error state

We're iterating over the CPU transcoders, so check for the correct
power domain.

This fixes many "unclaimed register" error messages.

This can be reproduced by the IGT test mentioned below, but we still
get a FAIL when we run it.

Testcase: igt/kms_lip/flip-vs-panning-vs-hang
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c