aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
-rw-r--r--drivers/gpu/drm/i915/i915_suspend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c
index 660c5f36424..75c5bed48be 100644
--- a/drivers/gpu/drm/i915/i915_suspend.c
+++ b/drivers/gpu/drm/i915/i915_suspend.c
@@ -410,6 +410,7 @@ void i915_save_display(struct drm_device *dev)
410 dev_priv->savePP_CONTROL = I915_READ(PP_CONTROL); 410 dev_priv->savePP_CONTROL = I915_READ(PP_CONTROL);
411 dev_priv->savePFIT_PGM_RATIOS = I915_READ(PFIT_PGM_RATIOS); 411 dev_priv->savePFIT_PGM_RATIOS = I915_READ(PFIT_PGM_RATIOS);
412 dev_priv->saveBLC_PWM_CTL = I915_READ(BLC_PWM_CTL); 412 dev_priv->saveBLC_PWM_CTL = I915_READ(BLC_PWM_CTL);
413 dev_priv->saveBLC_HIST_CTL = I915_READ(BLC_HIST_CTL);
413 if (IS_I965G(dev)) 414 if (IS_I965G(dev))
414 dev_priv->saveBLC_PWM_CTL2 = I915_READ(BLC_PWM_CTL2); 415 dev_priv->saveBLC_PWM_CTL2 = I915_READ(BLC_PWM_CTL2);
415 if (IS_MOBILE(dev) && !IS_I830(dev)) 416 if (IS_MOBILE(dev) && !IS_I830(dev))
@@ -501,6 +502,7 @@ void i915_restore_display(struct drm_device *dev)
501 502
502 I915_WRITE(PFIT_PGM_RATIOS, dev_priv->savePFIT_PGM_RATIOS); 503 I915_WRITE(PFIT_PGM_RATIOS, dev_priv->savePFIT_PGM_RATIOS);
503 I915_WRITE(BLC_PWM_CTL, dev_priv->saveBLC_PWM_CTL); 504 I915_WRITE(BLC_PWM_CTL, dev_priv->saveBLC_PWM_CTL);
505 I915_WRITE(BLC_HIST_CTL, dev_priv->saveBLC_HIST_CTL);
504 I915_WRITE(PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS); 506 I915_WRITE(PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS);
505 I915_WRITE(PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS); 507 I915_WRITE(PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS);
506 I915_WRITE(PP_DIVISOR, dev_priv->savePP_DIVISOR); 508 I915_WRITE(PP_DIVISOR, dev_priv->savePP_DIVISOR);