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

Skip to content
Commit e1f99ce6 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Propagate errors from writing to ringbuffer



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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 78501eac
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