[Intel-gfx] [PATCH 02/10] drm/i915: Drop i915_request.lock serialisation around await_start

Andi Shyti andi at etezian.org
Thu Jan 14 03:01:28 UTC 2021


Hi Chris,

On Wed, Jan 13, 2021 at 12:45:52PM +0000, Chris Wilson wrote:
> Originally, we used the signal->lock as a means of following the
> previous link in its timeline and peeking at the previous fence.
> However, we have replaced the explicit serialisation with a series of
> very careful probes that anticipate the links being deleted and the
> fences recycled before we are able to acquire a strong reference to it.
> We do not need the signal->lock crutch anymore, nor want the contention.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list