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

Commit 5678ee24 authored by Ujwal Patel's avatar Ujwal Patel Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: fix single layer vote for pipe staged at higher levels



BW calculation for single layer requires iterative search on how many
pipes are staged on a layer mixer. In the current implementation,
starting source split, container used to store staged pipes has two
entries per stage. Based on this maximum entries to search for single
layer has also increased. Update single layer iterative search based on
this new changes.

Change-Id: I2e65567fd795d71ca5ded0fa56c602267fe46768
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent 63704274
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ static inline bool mdss_mdp_is_single_pipe_per_mixer(
	int cnt = 0;
	int i;

	for (i = 0; i < MDSS_MDP_MAX_STAGE; i++) {
	for (i = 0; i < MAX_PIPES_PER_LM; i++) {
		struct mdss_mdp_pipe *pipe = mixer->stage_pipe[i];
		if (pipe) {
			cnt++;