[Intel-gfx] [PATCH 01/20] drm/i915/execlists: Convert recursive defer_request() into iterative

Matthew Auld matthew.william.auld at gmail.com
Tue Jun 25 18:01:53 UTC 2019


On Tue, 25 Jun 2019 at 14:03, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> As this engine owns the lock around rq->sched.link (for those waiters
> submitted to this engine), we can use that link as an element in a local
> list. We can thus replace the recursive algorithm with an iterative walk
> over the ordered list of waiters.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list