mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"
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. This reverts commitf64a28a7c5
. commitf64a28a7c5
Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Mon Nov 4 16:07:00 2013 -0800 drm/i915/vlv: fixup DDR freq detection per Punit spec v2: Add reference to previous commit which changed this. (Daniel) Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
76c4b25008
commit
f6d519481b
@ -5064,13 +5064,11 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
|
|||||||
mutex_unlock(&dev_priv->rps.hw_lock);
|
mutex_unlock(&dev_priv->rps.hw_lock);
|
||||||
switch ((val >> 6) & 3) {
|
switch ((val >> 6) & 3) {
|
||||||
case 0:
|
case 0:
|
||||||
|
case 1:
|
||||||
dev_priv->mem_freq = 800;
|
dev_priv->mem_freq = 800;
|
||||||
break;
|
break;
|
||||||
case 1:
|
|
||||||
dev_priv->mem_freq = 1066;
|
|
||||||
break;
|
|
||||||
case 2:
|
case 2:
|
||||||
dev_priv->mem_freq = 1333;
|
dev_priv->mem_freq = 1066;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
dev_priv->mem_freq = 1333;
|
dev_priv->mem_freq = 1333;
|
||||||
|
Loading…
Reference in New Issue
Block a user