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

Commit 16fadda8 authored by Jayant Shekhar's avatar Jayant Shekhar Committed by Matt Wagantall
Browse files

msm: mdss: Correct fb split height and width for destination split



Currently, fb split height and width are calculated before setting
the split mode in overlay init function. This leads to bootup issues
when dual dsi panel is used with destination split is enabled. Hence
correct those values in overlay init while assigning the split mode.

Change-Id: I93108a60be9c6f7a63b6743daafd50743792573f
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 63bbd16d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4828,8 +4828,10 @@ int mdss_mdp_overlay_init(struct msm_fb_data_type *mfd)

	mfd->mdp.private1 = mdp5_data;
	mfd->wait_for_kickoff = true;
	if (is_panel_split(mfd) && mdp5_data->mdata->has_pingpong_split)
	if (is_panel_split(mfd) && mdp5_data->mdata->has_pingpong_split) {
		mfd->split_fb_left = mfd->split_fb_right = 0;
		mfd->split_mode = MDP_PINGPONG_SPLIT;
	}

	if (mfd->panel_info->partial_update_enabled)
		mdp5_data->mdata->pp_enable = MDP_PP_DISABLE;