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

Eric Anholt eric at anholt.net
Thu Nov 5 23:21:28 CET 2009


On Fri, 2009-10-30 at 02:41 -0400, Andrew Lutomirski wrote:
> The render clock gating mode currently isn't restored when resuming,
> which causes high power consumption after a suspend/resume cycle on my
> laptop.
> 
> Signed-off-by: Andy Lutomirski <luto at mit.edu>

This looks pretty good, except that you're unconditionally
saving/restoring these regs, even though they only exist on gen4
hardware.  Could you fix it up to save/restore them for the same set of
hardware that the regs get set for?

-- 
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/20091105/2b39dc46/attachment.sig>


More information about the Intel-gfx mailing list