aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-07-26 13:51:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-02 10:30:26 -0700
commitb8c63c5fbc0e8d124f9e15cbbb0585b762efa08d (patch)
treee808cad26893f45aec1c3480b0fdc1d7677ffbdb
parentc9fcc5d269949a0fbd46ffbea6cc83741e61c05f (diff)
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 <jbarnes@virtuousgeek.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 e9bf5a8837f..a9ec41ddd03 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 {