From: Jesse Barnes Subject: [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN Date: Fri, 26 Oct 2012 10:17:39 -0700 Message-ID: <1351271859-5170-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id 774F09E837 for ; Fri, 26 Oct 2012 10:17:43 -0700 (PDT) Received: from [67.161.37.189] (port=49469 helo=localhost.localdomain) by box514.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TRnXQ-000646-Oh for intel-gfx@lists.freedesktop.org; Fri, 26 Oct 2012 11:17:40 -0600 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org We should only ever go below RP1 for thermal reasons. Users can still control this through sysfs by manually reducing the minimum frequency (and max if they want to clamp their frequency for power reasons, e.g. to keep fans off or something). Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 59068be..2c2701e 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2432,7 +2432,7 @@ static void gen6_enable_rps(struct drm_device *dev) /* In units of 100MHz */ dev_priv->rps.max_delay = rp_state_cap & 0xff; - dev_priv->rps.min_delay = (rp_state_cap & 0xff0000) >> 16; + dev_priv->rps.min_delay = (rp_state_cap & 0xff00) >> 8; dev_priv->rps.cur_delay = 0; /* disable the counters and set deterministic thresholds */ -- 1.7.9.5