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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment