From: John Harrison Date: Fri, 29 May 2015 16:43:30 +0000 (+0100) Subject: drm/i915: Add request to execbuf params and add explicit cleanup X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6ae79a761ddc95b67254e256f82f6d7c9c44d3;p=pandora-kernel.git drm/i915: Add request to execbuf params and add explicit cleanup Rather than just having a local request variable in the execbuff code, the request pointer is now stored in the execbuff params structure. Also added explicit cleanup of the request (plus wiping the OLR to match) in the error case. This means that the execbuff code is no longer dependent upon the OLR keeping track of the request so as to not leak it when things do go wrong. Note that in the success case, the i915_add_request() at the end of the submission function will tidy up the request and clear the OLR. For: VIZ-5115 Signed-off-by: John Harrison Reviewed-by: Tomas Elf Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed