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: Ujwal Patel <ujwalp@codeaurora.org>
This commit is contained in:
parent
42ad918cd9
commit
5672e82ee7
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Reference in a new issue