aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-04-28 18:04:31 -0400
committerKeith Packard <keithp@keithp.com>2011-05-13 21:12:50 -0400
commit6067aaeadb5b3df26f27ac827256b1ef01e674f5 (patch)
treebbc2fd9a7009e43beaa17f3fcab6e2cfe85339d6 /drivers/gpu/drm/i915/i915_suspend.c
parent90711d50d0bc3dde0c2bd214abda8cdaf62f7b2e (diff)
drm/i915: split clock gating init into per-chipset functions
This helps contain the mess to init_display() instead. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
-rw-r--r--drivers/gpu/drm/i915/i915_suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c
index da474153a0a..6cb27ff5189 100644
--- a/drivers/gpu/drm/i915/i915_suspend.c
+++ b/drivers/gpu/drm/i915/i915_suspend.c
@@ -864,7 +864,7 @@ int i915_restore_state(struct drm_device *dev)
864 } 864 }
865 865
866 /* Clock gating state */ 866 /* Clock gating state */
867 intel_enable_clock_gating(dev); 867 dev_priv->display.init_clock_gating(dev);
868 868
869 if (IS_IRONLAKE_M(dev)) { 869 if (IS_IRONLAKE_M(dev)) {
870 ironlake_enable_drps(dev); 870 ironlake_enable_drps(dev);