From: Sonika Jindal Date: Tue, 22 Jul 2014 05:46:35 +0000 (+0530) Subject: drm/i915: Returning from increase/decrease of pllclock when invalid X-Git-Tag: firefly_0821_release~176^2~3450^2~20^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=baff296cbe4e7337bdaaa04959b062df1acb22c2;p=firefly-linux-kernel-4.4.55.git drm/i915: Returning from increase/decrease of pllclock when invalid v2: Adding !HAS_GMCH_DISPLAY(dev) Signed-off-by: Sonika Jindal Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index fea68f33aaff..1389d8a30f0a 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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)