]> git.baikalelectronics.ru Git - kernel.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>
Mon, 5 May 2014 07:09:02 +0000 (09:09 +0200)
commitbfc2f43d0c5e17cec82391bf76d08e3478511127
tree88951418b92155d284d8599cea01a49e469d83b4
parent8cabc169e24732ddcc8ec15349ff9438ec30aa79
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