commit | e1f99ce6cac3b6a95551642be5ddb5d9c46bea76 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 27 12:45:26 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 27 23:26:34 2010 +0100 |
tree | fb5152a582fc5b6c190287d9c90d57ca415d6f9d | |
parent | 78501eac34f372bfbeb4e1d9de688c13efa916f6 [diff] |
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: Chris Wilson <chris@chris-wilson.co.uk>