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

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

Merge "msm: mdss: fix asynchronous rotation of layer bigger than line buffer"

parents e04d57d5 96b072e9
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -575,8 +575,6 @@ int mdss_mdp_writeback_start(struct mdss_mdp_ctl *ctl)

int mdss_mdp_writeback_display_commit(struct mdss_mdp_ctl *ctl, void *arg)
{
	int ret = 0;

	if (ctl->shared_lock && !mutex_is_locked(ctl->shared_lock)) {
		pr_err("shared mutex is not locked before commit on ctl=%d\n",
			ctl->num);
@@ -590,10 +588,5 @@ int mdss_mdp_writeback_display_commit(struct mdss_mdp_ctl *ctl, void *arg)
			ctl->mixer_right->params_changed++;
	}

	ret = mdss_mdp_display_commit(ctl, arg);

	if (!IS_ERR_VALUE(ret))
		mdss_mdp_display_wait4comp(ctl);

	return ret;
	return mdss_mdp_display_commit(ctl, arg);
}
+1 −0
Original line number Diff line number Diff line
@@ -642,6 +642,7 @@ int mdss_mdp_wb_kickoff(struct msm_fb_data_type *mfd)
		pr_err("error on commit ctl=%d\n", ctl->num);
		goto kickoff_fail;
	}
	mdss_mdp_display_wait4comp(ctl);

	if (wb && node) {
		mutex_lock(&wb->lock);