drm/i915: Disable LPT-H VGA dotclock during crtc disable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Dec 2015 20:22:14 +0000 (22:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Dec 2015 14:30:21 +0000 (16:30 +0200)
Currently we leave the LPT-H VGA dotclock running after turning
the pipe/fdi/port/etc. Properly disable the VGA dotclock as
specified in the modeset sequence.

v2: Fix commit message typo (Paulo)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449260534-14551-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c

index 20a1d94b1369fa45dec18ee0a75b4d2e2e4eab48..c549df79b4b5ba992753cfc3eb16e73fb5542865 100644 (file)
@@ -5176,6 +5176,7 @@ static void haswell_crtc_disable(struct drm_crtc *crtc)
 
        if (intel_crtc->config->has_pch_encoder) {
                lpt_disable_pch_transcoder(dev_priv);
+               lpt_disable_iclkip(dev_priv);
                intel_ddi_fdi_disable(crtc);
 
                intel_set_pch_fifo_underrun_reporting(dev_priv, TRANSCODER_A,