diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-08-15 02:54:44 +0400 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-08-15 02:54:44 +0400 |
commit | 75346fe9bc4c9b366c760200a665a2c55b789389 (patch) | |
tree | 32b8f2a91b1f3987aa958fe180146490f1903b3d /drivers/gpu/drm/gma500/gma_display.c | |
parent | 28a8194c12f8c8bb46aecd4cb1f36bac716714c4 (diff) | |
download | linux-75346fe9bc4c9b366c760200a665a2c55b789389.tar.xz |
drm/gma500/cdv: Add and hook up chip op for disabling sr
Add a callback hook to the chip ops struct to allow chips to have their
specific self-refresh function. Currently only used by cdv.
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/gma_display.c')
-rw-r--r-- | drivers/gpu/drm/gma500/gma_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/gma_display.c b/drivers/gpu/drm/gma500/gma_display.c index fe972c930c2c..24e8af3d22bf 100644 --- a/drivers/gpu/drm/gma500/gma_display.c +++ b/drivers/gpu/drm/gma500/gma_display.c @@ -211,7 +211,7 @@ void gma_crtc_dpms(struct drm_crtc *crtc, int mode) */ if (IS_CDV(dev)) - cdv_intel_disable_self_refresh(dev); + dev_priv->ops->disable_sr(dev); switch (mode) { case DRM_MODE_DPMS_ON: |