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

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

Merge "fbdev: msm: Increment commit count in case of ESD recovery"

parents 90ee51fc 8199c6b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4549,6 +4549,9 @@ static int mdss_fb_atomic_commit_ioctl(struct fb_info *info,
		 * In case of an ESD attack, since we early return from the
		 * commits, we need to signal the outstanding fences.
		 */
		mutex_lock(&mfd->mdp_sync_pt_data.sync_mutex);
		atomic_inc(&mfd->mdp_sync_pt_data.commit_cnt);
		mutex_unlock(&mfd->mdp_sync_pt_data.sync_mutex);
		mdss_fb_release_fences(mfd);
		if ((mfd->panel.type == MIPI_CMD_PANEL) &&
			mfd->mdp.signal_retire_fence && mdp5_data)