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

Commit e85ceffc authored by Narender Ankam's avatar Narender Ankam Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: mdp: mixer allocation for pluggable primary display



Try to allocate mixers LM0 and LM1 to an external pluggable
display if it is configured as primary display.

Change-Id: I81672132a6452535dcd7c2977e76f88a5f3aecf9
Signed-off-by: default avatarNarender Ankam <nankam@codeaurora.org>
parent f5387f19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2579,6 +2579,7 @@ struct mdss_mdp_mixer *mdss_mdp_mixer_alloc(
			mixer_pool += ctl->mdata->ndspp;
			nmixers -= ctl->mdata->ndspp;
		} else if ((ctl->panel_data->panel_info.is_pluggable) &&
				!(ctl->panel_data->panel_info.is_prim_panel) &&
				nmixers_active) {
			mixer_pool += ctl->mdata->ndspp;
			nmixers -= ctl->mdata->ndspp;