+61
−58
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Preparing the ringbuffer for adding new commands can fail (a timeout
whilst waiting for the GPU to catch up and free some space). So check
for any potential error before overwriting HEAD with new commands, and
propagate that error back to the user where possible.
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>