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

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Sonika Jindal 2014-07-21 15:23:43 +05:30 committed by Daniel Vetter
parent 92e23b9973
commit 3abfce77f7
1 changed files with 1 additions and 1 deletions

View File

@ -13225,7 +13225,7 @@ intel_display_capture_error_state(struct drm_device *dev)
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));
}