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

Chris Wilson
2015-02-13T12:21:32Z

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