]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 26 Jul 2010 22:34:16 +0000 (15:34 -0700)
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>
drivers/gpu/drm/i915/intel_dp.c

index 5d42661153116d7371672e6251b7ee06750c022c..5dde80f9e652ecc213353c59d6969c277869c874 100644 (file)
@@ -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 {