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

Commit ef1b6dbf authored by Sandeep Panda's avatar Sandeep Panda
Browse files

msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display



As per HW recommendation, configure the SMART_PANEL_ALIGN_MODE
control to start of frame for command mode split display use
cases. This will avoid any issues related to the skew that can
develop between the 2 interfaces used for sending data to panel.

Change-Id: I067db541bf29a8ca8c6c395fe05b5e159e733476
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 44f5f07c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4090,6 +4090,13 @@ static void mdss_mdp_ctl_split_display_enable(int enable,
			if (is_pingpong_split(main_ctl->mfd))
				lower |= BIT(2);
			upper = lower;

			/*
			 * align command mode stream0 output for
			 * intferace 1 and 2 to start of frame.
			 */
			if (main_ctl->mdata->mdp_rev >= MDSS_MDP_HW_REV_320)
				lower |= BIT(12);
		} else {
			/* interface controlling sw trigger (video mode) */
			if (main_ctl->intf_num == MDSS_MDP_INTF2) {