drm/i915: remove unexplained vblank wait in the DP off code
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 11 Apr 2014 21:25:41 +0000 (14:25 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:08:35 +0000 (09:08 +0200)
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>
drivers/gpu/drm/i915/intel_dp.c

index 44df493ad399722f8da06a2a1566efb70a46cd19..a421c81f2d883aa1b0139ba34c70a9490cf29807 100644 (file)
@@ -2779,9 +2779,6 @@ intel_dp_link_down(struct intel_dp *intel_dp)
        }
        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) &&
            I915_READ(intel_dp->output_reg) & DP_PIPEB_SELECT) {
                struct drm_crtc *crtc = intel_dig_port->base.base.crtc;