All of lore.kernel.org
 help / color / mirror / Atom feed
From: deepak.s@intel.com
To: intel-gfx@lists.freedesktop.org
Cc: Deepak S <deepak.s@intel.com>
Subject: [PATCH] Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec"
Date: Tue,  7 Jan 2014 21:38:36 +0530	[thread overview]
Message-ID: <1389110916-21611-1-git-send-email-deepak.s@intel.com> (raw)

From: Deepak S <deepak.s@intel.com>

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(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 469170c..8f99c5f 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -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;
-- 
1.8.4.2

             reply	other threads:[~2014-01-07 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 16:08 deepak.s [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-30  7:00 [PATCH] Revert "drm/i915/vlv: fixup DDR freq detection per Punit spec" deepak.s
2014-03-31  8:32 ` Daniel Vetter
2014-04-02 15:30 ` Jesse Barnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389110916-21611-1-git-send-email-deepak.s@intel.com \
    --to=deepak.s@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.