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

Eric Anholt eric at anholt.net
Thu Nov 12 20:24:59 CET 2009


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!

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091112/bec2539d/attachment.sig>


More information about the Intel-gfx mailing list