From: John Harrison Date: Fri, 29 May 2015 16:43:25 +0000 (+0100) Subject: drm/i915: Early alloc request in execbuff X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c8dac889539ab26382ba1636ec1159cae73f2b3;p=pandora-kernel.git drm/i915: Early alloc request in execbuff Start of explicit request management in the execbuffer code path. This patch adds a call to allocate a request structure before all the actual hardware work is done. Thus guaranteeing that all that work is tagged by a known request. At present, nothing further is done with the request, the rest comes later in the series. The only noticable change is that failure to get a request (e.g. due to lack of memory) will be caught earlier in the sequence. It now occurs right at the start before any un-undoable work has been done. v2: Simplified the error handling path. For: VIZ-5115 Signed-off-by: John Harrison Reviewed-by: Tomas Elf Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed