public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN
@ 2012-10-26 17:17 Jesse Barnes
  2012-10-26 18:32 ` Eric Anholt
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2012-10-26 17:17 UTC (permalink / raw)
  To: intel-gfx

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 <jbarnes@virtuousgeek.org>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN
  2012-10-26 17:17 [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN Jesse Barnes
@ 2012-10-26 18:32 ` Eric Anholt
  2012-10-26 19:24   ` Jesse Barnes
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Anholt @ 2012-10-26 18:32 UTC (permalink / raw)
  To: Jesse Barnes, intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 457 bytes --]

Jesse Barnes <jbarnes@virtuousgeek.org> writes:

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

I think I know what the reasoning is, but this commit message could use
some justification on why you wouldn't want to use the lowest frequency
available.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN
  2012-10-26 18:32 ` Eric Anholt
@ 2012-10-26 19:24   ` Jesse Barnes
  0 siblings, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2012-10-26 19:24 UTC (permalink / raw)
  To: Eric Anholt; +Cc: intel-gfx

On Fri, 26 Oct 2012 11:32:08 -0700
Eric Anholt <eric@anholt.net> wrote:

> Jesse Barnes <jbarnes@virtuousgeek.org> writes:
> 
> > 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).
> 
> I think I know what the reasoning is, but this commit message could use
> some justification on why you wouldn't want to use the lowest frequency
> available.

Yeah I should have been more verbose.

RP1 is the lowest "normal" frequency, in that it's the highest we can
run at the base voltage level for the part.  This means that any lower
frequencies will simply make things take longer and not make up for it
in power savings because the voltage is already at the minimum.

Daniel, feel free to add the above to the changelog if you want.

-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-26 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 17:17 [PATCH] drm/i915: make default minimum frequency RP1 instead of RPN Jesse Barnes
2012-10-26 18:32 ` Eric Anholt
2012-10-26 19:24   ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox