summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonika Jindal <sonika.jindal@intel.com>2014-07-21 15:23:43 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 07:05:44 +0200
commit3abfce77f7229116fa56aedfe3b79ce5ccde3d72 (patch)
tree31ab3eecf653e71b0f5dc27a70908201a7122387
parent92e23b997332c5aa21a94c3bf81b2546df99089b (diff)
downloadop-kernel-dev-3abfce77f7229116fa56aedfe3b79ce5ccde3d72.zip
op-kernel-dev-3abfce77f7229116fa56aedfe3b79ce5ccde3d72.tar.gz
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>
-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 c18c2a7..2df6860 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)
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));
}
OpenPOWER on IntegriCloud