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

Commit 29648f79 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: update split fb for HDMI usecases"

parents 7e5ae8dc 2e4188f7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4504,8 +4504,9 @@ static void mdss_mdp_set_lm_flag(struct msm_fb_data_type *mfd)
	width = mfd->fbi->var.xres;

	/* setting the appropriate split_mode for HDMI usecases */
	if (mfd->split_mode == MDP_SPLIT_MODE_NONE &&
			width > mdata->max_mixer_width) {
	if ((mfd->split_mode == MDP_SPLIT_MODE_NONE ||
			mfd->split_mode == MDP_DUAL_LM_SINGLE_DISPLAY) &&
			(width > mdata->max_mixer_width)) {
		width /= 2;
		mfd->split_mode = MDP_DUAL_LM_SINGLE_DISPLAY;
		mfd->split_fb_left = width;