]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/i915: Turn force VDD back off when panel running in intel_dp_dpms
authorKeith Packard <keithp@keithp.com>
Wed, 28 Sep 2011 23:28:00 +0000 (16:28 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 30 Sep 2011 23:23:46 +0000 (16:23 -0700)
The VDD force bit is turned on before touching the panel, but if it
was enabled, there was no call to turn it back off. Add a call.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c

index f80ff327d8737b9ff71cb784d6977baecb7c4249..7e59f060a03b5a95c37da1ab235d30aa2918c149 100644 (file)
@@ -1088,7 +1088,8 @@ intel_dp_dpms(struct drm_encoder *encoder, int mode)
                        ironlake_edp_panel_on(intel_dp);
                        ironlake_edp_panel_vdd_off(intel_dp);
                        intel_dp_complete_link_train(intel_dp);
-               }
+               } else
+                       ironlake_edp_panel_vdd_off(intel_dp);
                if (is_edp(intel_dp))
                        ironlake_edp_backlight_on(dev);
        }