From: Daniel Vetter <daniel@ffwll.ch>
To: Ben Widawsky <ben@bwidawsk.net>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: fix up ilk rc6 disabling confusion
Date: Wed, 4 Jul 2012 09:38:51 +0200 [thread overview]
Message-ID: <20120704073851.GC5375@phenom.ffwll.local> (raw)
In-Reply-To: <20120630200444.71e4b92d@bwidawsk.net>
On Sat, Jun 30, 2012 at 08:04:44PM -0700, Ben Widawsky wrote:
> On Fri, 29 Jun 2012 23:32:16 +0200
> Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>
> > While creating the new enable/disable_gt_powersave functions in
> >
> > commit 8090c6b9daa04dda649ac0a2209601042abfb0a4
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date: Sun Jun 24 16:42:32 2012 +0200
> >
> > drm/i915: wrap up gt powersave enabling functions
> >
> > I've botched up the handling of ironlake_disable_rc6. Fix this up by
> > calling it at the right place. Note though that ironlake_disable_rc6
> > does a bit more than just disabling rc6 - it also tears down all the
> > allocated context objects.
>
> I can only hope that one day you will appreciate the API I set up in
> the context code to handle this.
>
> >
> > Hence we need to move intel_teardown_rc6 out and directly call it from
> > intel_modeset_cleanup.
>
> I don't mind that you've done this, however could you explain/modify the
> comment when we want to disable without destroying the backing context
> object?
>
> >
> > Also properly mark ironlake_enable_rc6 as static and kill the un-used
> > declaration in i915_drv.h.
> >
> > Cc: Ben Widawsky <ben@bwidawsk.net>
> > Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Queued for -next (with a little comment added as discussed), thanks for
the review.
-Daniel
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
prev parent reply other threads:[~2012-07-04 7:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-29 21:32 [PATCH] drm/i915: fix up ilk rc6 disabling confusion Daniel Vetter
2012-06-29 23:36 ` Eugeni Dodonov
2012-06-30 5:51 ` Daniel Vetter
2012-07-01 3:04 ` Ben Widawsky
2012-07-01 10:48 ` Daniel Vetter
2012-07-02 15:44 ` Ben Widawsky
2012-07-02 16:49 ` Daniel Vetter
2012-07-04 7:38 ` Daniel Vetter [this message]
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=20120704073851.GC5375@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=ben@bwidawsk.net \
--cc=daniel.vetter@ffwll.ch \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox