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: Jayant Shekhar <jshekhar@codeaurora.org>
This commit is contained in:
Jayant Shekhar 2015-03-30 11:45:13 +05:30 committed by David Keitel
parent 4fcedbd15f
commit 231015790a

View file

@ -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;