summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-04-29 02:04:31 +0400
committerKeith Packard <keithp@keithp.com>2011-05-14 05:12:50 +0400
commit6067aaeadb5b3df26f27ac827256b1ef01e674f5 (patch)
treebbc2fd9a7009e43beaa17f3fcab6e2cfe85339d6 /drivers/gpu/drm/i915/i915_suspend.c
parent90711d50d0bc3dde0c2bd214abda8cdaf62f7b2e (diff)
downloadlinux-6067aaeadb5b3df26f27ac827256b1ef01e674f5.tar.xz
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 da474153a0a2..6cb27ff51891 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)
}
/* Clock gating state */
- intel_enable_clock_gating(dev);
+ dev_priv->display.init_clock_gating(dev);
if (IS_IRONLAKE_M(dev)) {
ironlake_enable_drps(dev);