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

Commit 202425da authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/dp: exit power saving mode before link training"

parents eddbcc21 a95426f4
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1315,6 +1315,11 @@ static int dp_display_prepare(struct dp_display *dp_display, void *panel)

	dp_display_host_init(dp);

	if (dp->debug->psm_enabled) {
		dp->link->psm_config(dp->link, &dp->panel->link_info, false);
		dp->debug->psm_enabled = false;
	}

	/*
	 * Execute the dp controller power on in shallow mode here.
	 * In normal cases, controller should have been powered on
@@ -1329,11 +1334,6 @@ static int dp_display_prepare(struct dp_display *dp_display, void *panel)
	if (rc)
		goto end;

	if (dp->debug->psm_enabled) {
		dp->link->psm_config(dp->link, &dp->panel->link_info, false);
		dp->debug->psm_enabled = false;
	}

end:
	mutex_unlock(&dp->session_lock);