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

Commit f467fd7b authored by Nirmal Abraham's avatar Nirmal Abraham
Browse files

fbdev: msm: Increment commit count during null commit



Calling overlay_kickoff during overlay_off path without
incrementing commit_cnt results in release fence timeline
getting incremented and causes early fence signalling in
subsequent commits leading to flicker. To avoid this,
increment commit_cnt before null commit is initiated.

Change-Id: I7ec482bfc192a58fa8819633a7830f440b3bd91b
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent 003eea8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5899,7 +5899,7 @@ static int mdss_mdp_overlay_off(struct msm_fb_data_type *mfd)
		pr_debug("cleaning up pipes on fb%d\n", mfd->index);
		if (mdata->handoff_pending)
			mdp5_data->allow_kickoff = true;

		atomic_inc(&mfd->mdp_sync_pt_data.commit_cnt);
		mdss_mdp_overlay_kickoff(mfd, NULL);
	} else if (!mdss_mdp_ctl_is_power_on(mdp5_data->ctl)) {
		if (mfd->panel_reconfig) {