From: Jesse Barnes Date: Mon, 26 Jul 2010 20:51:22 +0000 (-0700) Subject: drm/i915: make sure we shut off the panel in eDP configs X-Git-Tag: v2.6.34.2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b8c63c5fbc0e8d124f9e15cbbb0585b762efa08d;p=karo-tx-linux.git drm/i915: make sure we shut off the panel in eDP configs commit 5620ae29f1eabe655f44335231b580a78c8364ea upstream. 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 Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index e9bf5a8837f2..a9ec41ddd030 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -758,7 +758,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 {