[Intel-gfx] [PATCH v2] restore render clock gating on resume

Eric Anholt eric at anholt.net
Wed Dec 9 09:21:43 CET 2009


On Thu, 12 Nov 2009 11:24:59 -0800, Eric Anholt <eric at anholt.net> wrote:
> On Sun, 2009-11-08 at 13:49 -0500, Andrew Lutomirski wrote:
> > Rather than restoring just a few clock gating registers on resume,
> > just reinitialize the whole thing.
> > 
> > Signed-off-by: Andy Lutomirski <luto at mit.edu>
> > ---
> > 
> > Eric- I couldn't find any allocation of anything in
> > intel_init_clock_gating, so I think that running identical code on
> > load and resume should be fine.  This patch works on my GM45, but I
> > can't test on any other chips because I don't have any.
> > 
> > I'm not sure that this is the right thing to do in the non-KMS case,
> > but the existing code behaves similarly, so I didn't add any KMS
> > checks.
> 
> In -next, clock gating has grown some GEM object setup.  I'll have to be
> careful merging, but I like this patch.  Thanks!

OK, it's applied to -next now.  I'd encourage you to take a look and
make sure I didn't mangle anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091209/e48489be/attachment.sig>


More information about the Intel-gfx mailing list