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

Commit 654c97a0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mdss: mdp: wait for pingpong done for second control"

parents 353f02b1 0babac43
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -593,8 +593,7 @@ static void mdss_mdp_cmd_set_sync_ctx(

	ctx = (struct mdss_mdp_cmd_ctx *)ctl->priv_data;

	if (!ctl->panel_data->panel_info.partial_update_enabled || !sctl) {
		/* not partial or right only at partial update */
	if (!sctl) {
		ctx->sync_ctx = NULL;
		return;
	}
@@ -663,10 +662,8 @@ int mdss_mdp_cmd_kickoff(struct mdss_mdp_ctl *ctl, void *arg)
		return -ENODEV;
	}

	if (ctl->panel_data->panel_info.partial_update_enabled) {
		/* sctl will be null for right only */
	/* sctl will be null for right only in the case of Partial update */
	sctl = mdss_mdp_get_split_ctl(ctl);
	}

	if (sctl && (sctl->roi.w == 0 || sctl->roi.h == 0)) {
		/* left update only */