]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: add missing error capturing of the PIPESTAT reg
authorImre Deak <imre.deak@intel.com>
Fri, 18 Apr 2014 12:55:04 +0000 (15:55 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 13:38:27 +0000 (15:38 +0200)
commitae4f82130d06c9231ffd924293ec8e2ac06c8a73
tree60fbeb805fcff3666bcd149532faf03ed92411a2
parent9a11da9f32528f14be49121674d6ac005b7f798e
drm/i915: add missing error capturing of the PIPESTAT reg

While checking the error capture path I noticed that we lacked the
power domain-on check for PIPESTAT so fix this by moving that to where
the rest of pipe registers are captured.

The move also revealed that we actually don't include this register in
the error report, so fix that too.

v2:
- patch introduced in v2 of the patchset
v3:
- add back !HAS_PCH_SPLIT check (Ville)
[ Ignore my previous comment about the gen<=5 || vlv check, I realized
  that it's the same as !HAS_PCH_SPLIT. ]

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_display.c