[Intel-gfx] [PATCH 5/7] drm/i915: Writing proper check for reading of pipe status reg
sonika.jindal at intel.com
sonika.jindal at intel.com
Fri Jul 18 07:34:08 CEST 2014
From: Sonika Jindal <sonika.jindal at intel.com>
Signed-off-by: Sonika Jindal <sonika.jindal at intel.com>
---
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 e259c41..3f7089c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -13244,7 +13244,7 @@ intel_display_capture_error_state(struct drm_device *dev)
error->pipe[i].source = I915_READ(PIPESRC(i));
- if (!HAS_PCH_SPLIT(dev))
+ if (INTEL_INFO(dev)->gen <= 5 || IS_VALLEYVIEW(dev))
error->pipe[i].stat = I915_READ(PIPESTAT(i));
}
--
1.7.10.4
More information about the Intel-gfx
mailing list