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

Commit b1ebf102 authored by Jim Shargo's avatar Jim Shargo
Browse files

Surface: improve buffer look up by slot id

Before, we were comparing buffers only by handle, which may not actually
be consistent for the same buffers since the fds can be duped.

Now, we use both the handle, sp, and the buffer id for the check.

Additionally, we are now collecting all the slots being used and
reporting them as an error, as multiple slots per buffer is a bad state.

Bug: 413059222
Flag: EXEMPT small fix
Test: surface tests
Change-Id: I68fbe0ed41b7f4222de5819fad81da56bf410c8b
parent 59d876a7
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