From: Daniel Vetter <daniel@ffwll.ch>
To: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/i915: Don't default to overclock max
Date: Tue, 9 Apr 2013 18:58:54 +0200 [thread overview]
Message-ID: <20130409165854.GA27612@phenom.ffwll.local> (raw)
In-Reply-To: <87k3obyg1v.fsf@gaia.fi.intel.com>
On Tue, Apr 09, 2013 at 04:44:28PM +0300, Mika Kuoppala wrote:
> Ben Widawsky <ben@bwidawsk.net> writes:
>
> > Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
> > ---
> > drivers/gpu/drm/i915/intel_pm.c | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> > index 2edb743..c81921b 100644
> > --- a/drivers/gpu/drm/i915/intel_pm.c
> > +++ b/drivers/gpu/drm/i915/intel_pm.c
> > @@ -2632,11 +2632,10 @@ static void gen6_enable_rps(struct drm_device *dev)
> > pcu_mbox = 0;
> > ret = sandybridge_pcode_read(dev_priv, GEN6_READ_OC_PARAMS, &pcu_mbox);
> > if (!ret && (pcu_mbox & (1<<31))) { /* OC supported */
> > - DRM_DEBUG_DRIVER("overclocking supported, adjusting frequency max from %dMHz to %dMHz\n",
> > + DRM_DEBUG_DRIVER("Overclocking supported. Max: %dMHz, Overclock max: %dMHz\n",
> > (dev_priv->rps.max_delay & 0xff) * 50,
> > (pcu_mbox & 0xff) * 50);
> Minor nitpick:
> Use GT_FREQUENCY_MULTIPLIER instead of 50
I've ignored that one for now ...
>
> > dev_priv->rps.hw_max = pcu_mbox & 0xff;
> > - dev_priv->rps.max_delay = pcu_mbox & 0xff;
> > }
> > } else {
> > DRM_DEBUG_DRIVER("Failed to set the min frequency\n");
> > --
> > 1.8.2
>
> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Mika clarified that he indeed reviewed v2 of patch 1 but replied to the
wrong one. Both merged, thanks for the patches.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
next prev parent reply other threads:[~2013-04-09 16:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 2:45 [PATCH] drm/i915: Better overclock support Ben Widawsky
2013-04-03 8:27 ` Daniel Vetter
2013-04-05 21:29 ` [PATCH 1/2] [v2] " Ben Widawsky
2013-04-05 21:29 ` [PATCH 2/2] drm/i915: Don't default to overclock max Ben Widawsky
2013-04-09 13:44 ` Mika Kuoppala
2013-04-09 16:58 ` Daniel Vetter [this message]
2013-04-09 13:42 ` [PATCH] drm/i915: Better overclock support Mika Kuoppala
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=20130409165854.GA27612@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=ben@bwidawsk.net \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mika.kuoppala@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox