[Intel-gfx] [PATCH 08/51] drm/i915: Update alloc_request to return the allocated request

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 13 04:21:29 PST 2015


On Fri, Feb 13, 2015 at 11:48:17AM +0000, John.C.Harrison at Intel.com wrote:
> From: John Harrison <John.C.Harrison at Intel.com>
> 
> 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.

Why do we have different functions in the first place?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list