Skip to contentSkip to conversation

Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"

PATCH New [email protected] 1 participant 1 message Jan 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"

From: Deepak S <[email protected]>

As per the inputs provided by hardware team we still use the DDR Rates as 0,1=800, 2=1066, 3=1333.

This patch reverts commit f64a28a7c5ab2fc342326de9e126acf3cc0f91d6.

After the revert, Turbo freqs used on current machines matches.

---
 drivers/gpu/drm/i915/intel_pm.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +2 -4
index 469170c..8f99c5f 100644
@@ -4917,13 +4917,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;
Signature · 1 line
1.8.4.2