drm/i915: restore render clock gating on resume
authorAndrew Lutomirski <luto@mit.edu>
Sun, 8 Nov 2009 18:49:51 +0000 (13:49 -0500)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2009 14:32:51 +0000 (06:32 -0800)
commit7e8b60faea972604c315634cff62d44803731ea9
treea9c6fb0426fd6eac03e974b4c3242218d5996f80
parent5618ca6abc2d6f475b258badc017a5254cf43d1b
drm/i915: restore render clock gating on resume

Rather than restoring just a few clock gating registers on resume,
just reinitialize the whole thing.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
[anholt: Fixed up for RC6 support landed since the patch was written]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h