[Intel-gfx] [PATCH v2 17/22] drm/i915/guc: Prepare for nonblocking execbuf submission

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Sep 12 14:14:52 UTC 2016


On 07/09/16 15:45, Chris Wilson wrote:
> Currently the presumption is that the request construction and its
> submission to the GuC are all under the same holding of struct_mutex. We
> wish to relax this to separate the request construction and the later
> submission to the GuC. This requires us to reserve some space in the
> GuC command queue for the future submission. For flexibility to handle
> out-of-order request submission we do not preallocate the next slot in
> the GuC command queue during request construction, just ensuring that
> there is enough space later.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
>   drivers/gpu/drm/i915/i915_guc_submission.c | 35 ++++++++++++++++++++----------
>   drivers/gpu/drm/i915/intel_guc.h           |  3 +++
>   2 files changed, 26 insertions(+), 12 deletions(-)

R-b is missing for this one and it is in the tree now.

Regards,

Tvrtko


More information about the Intel-gfx mailing list