]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Returning from increase/decrease of pllclock when invalid
authorSonika Jindal <sonika.jindal@intel.com>
Tue, 22 Jul 2014 05:46:35 +0000 (11:16 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:45 +0000 (07:05 +0200)
v2: Adding !HAS_GMCH_DISPLAY(dev)

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index fea68f33aaffb6a56fc520a089397074fb2b3b8e..1389d8a30f0a86b617512014687b3b1ad6e88fb8 100644 (file)
@@ -8780,7 +8780,7 @@ static void intel_increase_pllclock(struct drm_device *dev,
        int dpll_reg = DPLL(pipe);
        int dpll;
 
-       if (HAS_PCH_SPLIT(dev))
+       if (!HAS_GMCH_DISPLAY(dev))
                return;
 
        if (!dev_priv->lvds_downclock_avail)
@@ -8808,7 +8808,7 @@ static void intel_decrease_pllclock(struct drm_crtc *crtc)
        struct drm_i915_private *dev_priv = dev->dev_private;
        struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
 
-       if (HAS_PCH_SPLIT(dev))
+       if (!HAS_GMCH_DISPLAY(dev))
                return;
 
        if (!dev_priv->lvds_downclock_avail)