* [PATCH] Revert "drm/i915: Don't overclock on Haswell"
@ 2013-04-24 0:33 Ben Widawsky
2013-04-24 9:02 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Ben Widawsky @ 2013-04-24 0:33 UTC (permalink / raw)
To: intel-gfx; +Cc: Ben Widawsky, kim.l.saw-chu
This reverts commit fec46b5eff854df5647a9f4724e45dd33933855a.
The latest version of our PM programming doc (which is WAY better than
previous versions, and thanks for that) says something along the lines
of, "On Haswell overclocking is no long achieved via mailbox registers."
Which I misinterpreted as, the driver must done something different than
it did on IVB, and SNB.
It appears I jumped the gun, and that's all false. We've gotten some
clarification, and it appears at least *reading* the overclocking
information works in exactly the same manner.
Cc: kim.l.saw-chu@intel.com
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
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 2557926..5f912c6 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2685,7 +2685,7 @@ static void gen6_enable_rps(struct drm_device *dev)
(IS_HASWELL(dev) ? GEN7_RP_DOWN_IDLE_AVG : GEN6_RP_DOWN_IDLE_CONT));
ret = sandybridge_pcode_write(dev_priv, GEN6_PCODE_WRITE_MIN_FREQ_TABLE, 0);
- if (!ret && (IS_GEN6(dev) || IS_IVYBRIDGE(dev))) {
+ if (!ret) {
pcu_mbox = 0;
ret = sandybridge_pcode_read(dev_priv, GEN6_READ_OC_PARAMS, &pcu_mbox);
if (!ret && (pcu_mbox & (1<<31))) { /* OC supported */
--
1.8.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "drm/i915: Don't overclock on Haswell"
2013-04-24 0:33 [PATCH] Revert "drm/i915: Don't overclock on Haswell" Ben Widawsky
@ 2013-04-24 9:02 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2013-04-24 9:02 UTC (permalink / raw)
To: Ben Widawsky; +Cc: intel-gfx, kim.l.saw-chu
On Tue, Apr 23, 2013 at 05:33:02PM -0700, Ben Widawsky wrote:
> This reverts commit fec46b5eff854df5647a9f4724e45dd33933855a.
>
> The latest version of our PM programming doc (which is WAY better than
> previous versions, and thanks for that) says something along the lines
> of, "On Haswell overclocking is no long achieved via mailbox registers."
> Which I misinterpreted as, the driver must done something different than
> it did on IVB, and SNB.
>
> It appears I jumped the gun, and that's all false. We've gotten some
> clarification, and it appears at least *reading* the overclocking
> information works in exactly the same manner.
>
> Cc: kim.l.saw-chu@intel.com
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Picked up for -fixes, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-24 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 0:33 [PATCH] Revert "drm/i915: Don't overclock on Haswell" Ben Widawsky
2013-04-24 9:02 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox