[Intel-gfx] [PATCH] drm/i915: Set SSC frequency for 8xx chips correctly

Jesse Barnes jbarnes at virtuousgeek.org
Thu Jun 25 19:43:21 CEST 2009


On Thu, 25 Jun 2009 10:59:22 +0800
ling.ma at intel.com wrote:

> All 8xx class chips have the 66/48 split, not just 855.
> 
> Signed-off-by: Ma Ling <ling.ma at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_bios.c |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_bios.c
> b/drivers/gpu/drm/i915/intel_bios.c index 716409a..da22863 100644
> --- a/drivers/gpu/drm/i915/intel_bios.c
> +++ b/drivers/gpu/drm/i915/intel_bios.c
> @@ -195,10 +195,12 @@ parse_general_features(struct drm_i915_private
> *dev_priv, dev_priv->lvds_use_ssc = general->enable_ssc;
>  
>  		if (dev_priv->lvds_use_ssc) {
> -		  if (IS_I855(dev_priv->dev))
> -		    dev_priv->lvds_ssc_freq = general->ssc_freq ?
> 66 : 48;
> -		  else
> -		    dev_priv->lvds_ssc_freq = general->ssc_freq ?
> 100 : 96;
> +			if (IS_I85X(dev_priv->dev))
> +				dev_priv->lvds_ssc_freq =
> +					general->ssc_freq ? 66 : 48;
> +			else
> +				dev_priv->lvds_ssc_freq =
> +					general->ssc_freq ? 100 : 96;
>  		}
>  	}
>  }

Yep, looks good.  Thanks for catching this.

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list