From cdbb84c43ff92d85d9716002d50ece46c3d68eed Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Tue, 16 Mar 2010 10:29:55 +0800 Subject: [PATCH] drm/i915: Write protected off key to restore LVDS panel power sequence register Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/i915_suspend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c index ac0d1a7..a3abfc0 100644 --- a/drivers/gpu/drm/i915/i915_suspend.c +++ b/drivers/gpu/drm/i915/i915_suspend.c @@ -688,6 +688,7 @@ void i915_restore_display(struct drm_device *dev) I915_WRITE(PFIT_PGM_RATIOS, dev_priv->savePFIT_PGM_RATIOS); I915_WRITE(BLC_PWM_CTL, dev_priv->saveBLC_PWM_CTL); I915_WRITE(BLC_HIST_CTL, dev_priv->saveBLC_HIST_CTL); + I915_WRITE(PP_CONTROL, I915_READ(PP_CONTROL) | (0xABCD << 16)); I915_WRITE(PP_ON_DELAYS, dev_priv->savePP_ON_DELAYS); I915_WRITE(PP_OFF_DELAYS, dev_priv->savePP_OFF_DELAYS); I915_WRITE(PP_DIVISOR, dev_priv->savePP_DIVISOR); -- 1.5.4.5