From 3abfce77f7229116fa56aedfe3b79ce5ccde3d72 Mon Sep 17 00:00:00 2001 From: Sonika Jindal Date: Mon, 21 Jul 2014 15:23:43 +0530 Subject: [PATCH] drm/i915: Writing proper check for reading of pipe status reg Signed-off-by: Sonika Jindal Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.34.1