diff --git a/drivers/video/fbdev/msm/mdss_mdp_overlay.c b/drivers/video/fbdev/msm/mdss_mdp_overlay.c index 7412d3941769..052ddd821388 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_overlay.c +++ b/drivers/video/fbdev/msm/mdss_mdp_overlay.c @@ -4388,8 +4388,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;