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

Commit 0ccb4c44 authored by Krishna Manikandan's avatar Krishna Manikandan Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Fix MDP bandwidth vote when no display is enabled



During mdss_mdp_probe, ab and ib votes are set to a default
value. If there is no display enabled, then we can remove
this vote.

Change-Id: I7cd4001978021fa2466c7eb9a23adf1cc9edb5b3
Signed-off-by: default avatarKrishna Manikandan <mkrishn@codeaurora.org>
parent ed1679e4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2743,9 +2743,12 @@ static int mdss_mdp_probe(struct platform_device *pdev)
		if (split_display)
			num_of_display_on--;
	}
	if (!num_of_display_on)
	if (!num_of_display_on) {
		mdss_mdp_footswitch_ctrl_splash(false);
	else {
		msm_bus_scale_client_update_request(
					mdata->bus_hdl, 0);
		mdata->ao_bw_uc_idx = 0;
	} else {
		mdata->handoff_pending = true;
		/*
		 * If multiple displays are enabled in LK, ctrl_splash off will