]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/gpu/drm/i915/intel_display.c
drm/i915: don't enable plane, pipe and PLL prematurely
[mv-sheeva.git] / drivers / gpu / drm / i915 / intel_display.c
index 98967f3b7724e1554713fa665e62b67f6abbddcd..9dcad312b6e5d88944652064c7c03127653d1b08 100644 (file)
@@ -4222,9 +4222,11 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
                        pipeconf &= ~PIPECONF_DOUBLE_WIDE;
        }
 
-       dspcntr |= DISPLAY_PLANE_ENABLE;
-       pipeconf |= PIPECONF_ENABLE;
-       dpll |= DPLL_VCO_ENABLE;
+       if (!HAS_PCH_SPLIT(dev)) {
+               dspcntr |= DISPLAY_PLANE_ENABLE;
+               pipeconf |= PIPECONF_ENABLE;
+               dpll |= DPLL_VCO_ENABLE;
+       }
 
        DRM_DEBUG_KMS("Mode for pipe %c:\n", pipe == 0 ? 'A' : 'B');
        drm_mode_debug_printmodeline(mode);