Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f58ff854 authored by Keith Packard's avatar Keith Packard
Browse files

drm/i915: Ensure eDP powered up during DP_SET_POWER operation in dp_prepare



Any call to intel_dp_sink_dpms must ensure that the panel has power so
that the DP_SET_POWER operation will be correctly received. The only
one missing this was in intel_dp_prepare.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 0b5c541b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1039,7 +1039,9 @@ static void intel_dp_prepare(struct drm_encoder *encoder)
	struct drm_device *dev = encoder->dev;

	/* Wake up the sink first */
	ironlake_edp_panel_vdd_on(intel_dp);
	intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_ON);
	ironlake_edp_panel_vdd_off(intel_dp);

	if (is_edp(intel_dp)) {
		ironlake_edp_backlight_off(dev);