drm/i915: remove unexplained vblank wait in the DP off code
I don't think this is necessary; at least it doesn't appear to be on my BYT. Dropping it speeds up our shutdown code a little, in some cases resulting in faster init times. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
444c9a08bf
commit
93c9c19b3d
|
@ -2779,9 +2779,6 @@ intel_dp_link_down(struct intel_dp *intel_dp)
|
||||||
}
|
}
|
||||||
POSTING_READ(intel_dp->output_reg);
|
POSTING_READ(intel_dp->output_reg);
|
||||||
|
|
||||||
/* We don't really know why we're doing this */
|
|
||||||
intel_wait_for_vblank(dev, intel_crtc->pipe);
|
|
||||||
|
|
||||||
if (HAS_PCH_IBX(dev) &&
|
if (HAS_PCH_IBX(dev) &&
|
||||||
I915_READ(intel_dp->output_reg) & DP_PIPEB_SELECT) {
|
I915_READ(intel_dp->output_reg) & DP_PIPEB_SELECT) {
|
||||||
struct drm_crtc *crtc = intel_dig_port->base.base.crtc;
|
struct drm_crtc *crtc = intel_dig_port->base.base.crtc;
|
||||||
|
|
Loading…
Reference in New Issue