Message ID | 1405936425-17341-6-git-send-email-sonika.jindal@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jul 21, 2014 at 03:23:42PM +0530, sonika.jindal@intel.com wrote: > From: Sonika Jindal <sonika.jindal@intel.com> > > Signed-off-by: Sonika Jindal <sonika.jindal@intel.com> > --- > drivers/gpu/drm/i915/intel_display.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index 442d8ba..f6cf9bb 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -8783,7 +8783,7 @@ static void intel_increase_pllclock(struct drm_device *dev, > int dpll_reg = DPLL(pipe); > int dpll; > > - if (HAS_PCH_SPLIT(dev)) > + if (INTEL_INFO(dev)->gen >= 5 && !IS_VALLEYVIEW(dev)) Same as with the previous patch. -Daniel > return; > > if (!dev_priv->lvds_downclock_avail) > @@ -8811,7 +8811,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 (INTEL_INFO(dev)->gen >= 5 && !IS_VALLEYVIEW(dev)) > return; > > if (!dev_priv->lvds_downclock_avail) > -- > 1.7.10.4 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 442d8ba..f6cf9bb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -8783,7 +8783,7 @@ static void intel_increase_pllclock(struct drm_device *dev, int dpll_reg = DPLL(pipe); int dpll; - if (HAS_PCH_SPLIT(dev)) + if (INTEL_INFO(dev)->gen >= 5 && !IS_VALLEYVIEW(dev)) return; if (!dev_priv->lvds_downclock_avail) @@ -8811,7 +8811,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 (INTEL_INFO(dev)->gen >= 5 && !IS_VALLEYVIEW(dev)) return; if (!dev_priv->lvds_downclock_avail)