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

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

msm: mdss: fix multiple overlay release sequence



Overlay release allows multiple releases to happen by having
multiple bits set in overlay unset call. Fix logic to find
all pipes which match the bitmap.

Change-Id: I6a25a81fe4c437b5546537d48e250055357682f0
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent 8b606f17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1371,7 +1371,7 @@ static int mdss_mdp_overlay_release(struct msm_fb_data_type *mfd, int ndx)
				continue;
			}

			unset_ndx |= ndx;
			unset_ndx |= pipe->ndx;

			pipe->pid = 0;
			destroy_pipe = pipe->play_cnt == 0;