aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorSonika Jindal <sonika.jindal@intel.com>2014-07-21 05:53:43 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 01:05:44 -0400
commit3abfce77f7229116fa56aedfe3b79ce5ccde3d72 (patch)
tree31ab3eecf653e71b0f5dc27a70908201a7122387 /drivers/gpu/drm/i915/intel_display.c
parent92e23b997332c5aa21a94c3bf81b2546df99089b (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index c18c2a71afac..2df686064bda 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13225,7 +13225,7 @@ intel_display_capture_error_state(struct drm_device *dev)
13225 13225
13226 error->pipe[i].source = I915_READ(PIPESRC(i)); 13226 error->pipe[i].source = I915_READ(PIPESRC(i));
13227 13227
13228 if (!HAS_PCH_SPLIT(dev)) 13228 if (HAS_GMCH_DISPLAY(dev))
13229 error->pipe[i].stat = I915_READ(PIPESTAT(i)); 13229 error->pipe[i].stat = I915_READ(PIPESTAT(i));
13230 } 13230 }
13231 13231