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

Commit d5c892e8 authored by Steve Cohen's avatar Steve Cohen Committed by Jayaprakash Madisetty
Browse files

disp: msm: sde: fix tracking of pending rsvps



Previous logic expected rsvp_nxt to always be the 2nd rsvp for
a given encoder. This does not work for releasing back-to-back
test-only reservations (with no current rsvp). If new
resources become available between the 2 test-only commits we
may end up reserving more resources than necessary. Change the
logic by adding a pending flag to the rsvp to simplify lookup
of both current and pending/next resource reservations.

Change-Id: Iefa8085f1b4c0cf49bb744dcc2deb7fb92608454
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 1794d92b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment