summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2014-04-11 14:25:41 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-05 09:08:35 +0200
commit93c9c19b3d259a76fc2efa4b8f2478dc9f339bee (patch)
treeeff2cea0d8ac190324d64255ebe44d131ef9d74a /drivers/gpu/drm/i915
parent444c9a08bf787e8236e132fab7eceeb2f065aa4c (diff)
downloadop-kernel-dev-93c9c19b3d259a76fc2efa4b8f2478dc9f339bee.zip
op-kernel-dev-93c9c19b3d259a76fc2efa4b8f2478dc9f339bee.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 44df493..a421c81 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -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;
OpenPOWER on IntegriCloud