summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-07-27 00:51:22 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-27 02:34:16 +0400
commit5620ae29f1eabe655f44335231b580a78c8364ea (patch)
treec409ac838a1e7d540720e7779e2ab96345e86dd2
parente9d67a7854b291d0c516d1fd42c07898e36095aa (diff)
downloadlinux-5620ae29f1eabe655f44335231b580a78c8364ea.tar.xz
drm/i915: make sure we shut off the panel in eDP configs
Fix error from the last pull request. Making sure we shut the panel off is more correct and saves power. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 5d4266115311..5dde80f9e652 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -798,7 +798,7 @@ intel_dp_dpms(struct drm_encoder *encoder, int mode)
intel_dp_link_down(intel_encoder, dp_priv->DP);
if (IS_eDP(intel_encoder)) {
ironlake_edp_backlight_off(dev);
- ironlake_edp_backlight_off(dev);
+ ironlake_edp_panel_off(dev);
}
}
} else {