Re: [PATCH] Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 30, 2014 at 12:30:56PM +0530, deepak.s@xxxxxxxxxxxxxxx wrote:
> From: Deepak S <deepak.s@xxxxxxxxxxxxxxx>
> 
> This reverts commit f64a28a7c5ab2fc342326de9e126acf3cc0f91d6.
> 
> As per the inputs provided by hardware team  we still use DDR
> Rates as 0,1=800, 2=1066, 3=1333.
> With this change, Turbo freqs used on current machines matches.

sob line is missing here. Also a reference to all the previous commit
which changed this would be useful, any maybe a mention of any issues seen
in hw platforms shipping in the wild this patch fixes.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_pm.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 30730be..2c8c7da 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -5049,13 +5049,11 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
>  	mutex_unlock(&dev_priv->rps.hw_lock);
>  	switch ((val >> 6) & 3) {
>  	case 0:
> -		dev_priv->mem_freq = 800;
> -		break;
>  	case 1:
> -		dev_priv->mem_freq = 1066;
> +		dev_priv->mem_freq = 800;
>  		break;
>  	case 2:
> -		dev_priv->mem_freq = 1333;
> +		dev_priv->mem_freq = 1066;
>  		break;
>  	case 3:
>  		dev_priv->mem_freq = 1333;
> -- 
> 1.9.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux