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

Commit 7dde1c3e authored by Shivaraj Shetty's avatar Shivaraj Shetty Committed by Ramakant Singh
Browse files

msm: mdss: reduce the bandwidth request calls by mdp3



Currently mdp3 is calling bus calls for bandwidth request
as soon as there is any change in new bandwidth value.
This extra communication is showing power issues.
Do not change the bw vote for solid fill case so that
this fluctuation is avoided.

Change-Id: I1d0a48a090bd1ac9321d08d67715e31036122060
Signed-off-by: default avatarShivaraj Shetty <shivaraj@codeaurora.org>
parent a581c9d3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -454,6 +454,10 @@ int mdp3_calc_ppp_res(struct msm_fb_data_type *mfd, struct blit_req_list *lreq)
		ATRACE_END(__func__);
		return 0;
	}
	if (lreq->req_list[0].flags & MDP_SOLID_FILL) {
		/* Do not update BW for solid fill */
		return 0;
	}

	/* Set FPS to mipi rate as currently there is no way to get this */
	fps = panel_info->mipi.frame_rate;