[Intel-gfx] [PATCH] drm/i915/guc: Move GuC wq_reserve_space to ring_reserve_space

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 9 01:05:01 PST 2015


On Tue, Dec 08, 2015 at 05:04:50PM -0800, yu.dai at intel.com wrote:
> From: Alex Dai <yu.dai at intel.com>
> 
> Split GuC work queue space reserve and submission and move the space
> reserve to where ring space is reserved. The reason is that failure
> in intel_logical_ring_advance_and_submit won't be handled. In the
> case timeout happens, driver can return early in order to handle the
> error.

Not here. You want the request_alloc_extras callback.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list