summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/gma_display.c
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-08-15 00:54:44 +0200
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-08-15 00:54:44 +0200
commit75346fe9bc4c9b366c760200a665a2c55b789389 (patch)
tree32b8f2a91b1f3987aa958fe180146490f1903b3d /drivers/gpu/drm/gma500/gma_display.c
parent28a8194c12f8c8bb46aecd4cb1f36bac716714c4 (diff)
downloadblackbird-op-linux-75346fe9bc4c9b366c760200a665a2c55b789389.tar.gz
blackbird-op-linux-75346fe9bc4c9b366c760200a665a2c55b789389.zip
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.c2
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:
OpenPOWER on IntegriCloud