summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-07-26 13:51:22 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-26 15:34:16 -0700
commit5620ae29f1eabe655f44335231b580a78c8364ea (patch)
treec409ac838a1e7d540720e7779e2ab96345e86dd2 /drivers
parente9d67a7854b291d0c516d1fd42c07898e36095aa (diff)
downloadlinux-3.10-5620ae29f1eabe655f44335231b580a78c8364ea.tar.gz
linux-3.10-5620ae29f1eabe655f44335231b580a78c8364ea.tar.bz2
linux-3.10-5620ae29f1eabe655f44335231b580a78c8364ea.zip
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>
Diffstat (limited to 'drivers')
-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 5d426611531..5dde80f9e65 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 {