[205/205] drm/i915: make sure we shut off the panel in eDP configs

From: Greg KH
Date: Fri Jul 30 2010 - 14:03:29 EST

2.6.34-stable review patch. If anyone has any objections, please let us know.


From: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

drivers/gpu/drm/i915/intel_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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 *encode
intel_dp_link_down(intel_encoder, dp_priv->DP);
if (IS_eDP(intel_encoder)) {
- ironlake_edp_backlight_off(dev);
+ ironlake_edp_panel_off(dev);
} else {

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/