Skip to content

Commit

Permalink
drm/i915: Writing proper check for reading of pipe status reg
Browse files Browse the repository at this point in the history
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Sonika Jindal authored and Daniel Vetter committed Jul 23, 2014
1 parent 92e23b9 commit 3abfce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 3abfce7

Please sign in to comment.