gpu: Fix out-of-order sync token releases.
This CL prevents out-of-order sync token releases from causing a client's scheduling state to go back in time. Prior to this change, if a client submitted a release for a sync token with a release count that was earlier than the last release count, we would update the last release count to the earlier one. This would mean that a sync token could get "unreleased." Test: added unit tests to enforce the new behavior. Bug: 1013502 Change-Id: If8404101789a277dacfd2337971fd60136f07d24 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898714 Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#713157}
Showing
Please register or sign in to comment