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

Commit 1be226e3 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: Flush Interface timing registers only once"

parents de63f1de d50b2bf0
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2921,12 +2921,15 @@ int mdss_mdp_display_commit(struct mdss_mdp_ctl *ctl, void *arg)

		mdss_mdp_ctl_write(ctl, MDSS_MDP_REG_CTL_TOP, ctl->opmode);
		ctl->flush_bits |= BIT(17);	/* CTL */
		ctl->flush_bits |= BIT(31) >> (ctl->intf_num - MDSS_MDP_INTF0);
		if (!ctl->play_cnt)
			ctl->flush_bits |= BIT(31) >>
				(ctl->intf_num - MDSS_MDP_INTF0);

		if (sctl) {
			mdss_mdp_ctl_write(sctl, MDSS_MDP_REG_CTL_TOP,
					sctl->opmode);
			sctl->flush_bits |= BIT(17);
			if (!ctl->play_cnt)
				sctl->flush_bits |= BIT(31) >>
					(sctl->intf_num - MDSS_MDP_INTF0);
		}