]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: make sure we shut off the panel in eDP configs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 26 Jul 2010 20:51:22 +0000 (13:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:26 +0000 (10:30 -0700)
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>
drivers/gpu/drm/i915/intel_dp.c

index e9bf5a8837f233cb862981db32d384011e17f00e..a9ec41ddd03084b5a6ee08ba488dbd368570ec62 100644 (file)
@@ -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 {