From: John Harrison Date: Fri, 29 May 2015 16:43:29 +0000 (+0100) Subject: drm/i915: Update alloc_request to return the allocated request X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~226 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217e46b576ef0d5eed10ddfeb2b29bd3de289e95;p=pandora-kernel.git drm/i915: Update alloc_request to return the allocated request The alloc_request() function does not actually return the newly allocated request. Instead, it must be pulled from ring->outstanding_lazy_request. This patch fixes this so that code can create a request and start using it knowing exactly which request it actually owns. v2: Updated for new i915_gem_request_alloc() scheme. For: VIZ-5115 Signed-off-by: John Harrison Reviewed-by: Tomas Elf Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed