From: Chris Wilson Date: Wed, 27 Oct 2010 11:45:26 +0000 (+0100) Subject: drm/i915: Propagate errors from writing to ringbuffer X-Git-Tag: v2.6.38-rc1~419^2~23^2~176 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f99ce6cac3b6a95551642be5ddb5d9c46bea76;p=pandora-kernel.git 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 --- Reading git-diff-tree failed