From: Sonika Jindal Date: Mon, 21 Jul 2014 09:53:43 +0000 (+0530) Subject: drm/i915: Writing proper check for reading of pipe status reg X-Git-Tag: v3.17-rc1~82^2~20^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3abfce77f7229116fa56aedfe3b79ce5ccde3d72;p=karo-tx-linux.git drm/i915: Writing proper check for reading of pipe status reg Signed-off-by: Sonika Jindal Signed-off-by: Daniel Vetter --- 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) 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)); }