mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
92e23b9973
commit
3abfce77f7
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue