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

Commit 290e1d01 authored by Ujwal Patel's avatar Ujwal Patel
Browse files

msm: mdss: fix synchronous split flush



Synchronous split flush was mistakenly disabled by commit 3ae81d47.
Fix this by using correct variable in the condition check.

Change-Id: Ibfce48fc7df66b4fa964211065565bbd29c4cb92
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent 4db175e5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1157,8 +1157,7 @@ static inline int mdss_mdp_set_split_ctl(struct mdss_mdp_ctl *ctl,
	 * original ctl can work the same way as dual pipe solution */
	ctl->mixer_right = split_ctl->mixer_left;

	if ((mdata->mdp_rev >= MDSS_MDP_HW_REV_103) &&
		(ctl->opmode == MDSS_MDP_CTL_OP_VIDEO_MODE))
	if ((mdata->mdp_rev >= MDSS_MDP_HW_REV_103) && ctl->is_video_mode)
		ctl->split_flush_en = true;

	return 0;