Commit 3abfce77 authored by Sonika Jindal's avatar Sonika Jindal Committed by Daniel Vetter

drm/i915: Writing proper check for reading of pipe status reg

Signed-off-by: default avatarSonika Jindal <sonika.jindal@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 92e23b99
...@@ -13225,7 +13225,7 @@ intel_display_capture_error_state(struct drm_device *dev) ...@@ -13225,7 +13225,7 @@ intel_display_capture_error_state(struct drm_device *dev)
error->pipe[i].source = I915_READ(PIPESRC(i)); error->pipe[i].source = I915_READ(PIPESRC(i));
if (!HAS_PCH_SPLIT(dev)) if (HAS_GMCH_DISPLAY(dev))
error->pipe[i].stat = I915_READ(PIPESTAT(i)); error->pipe[i].stat = I915_READ(PIPESTAT(i));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment