[Intel-gfx] [PATCH 2/2] dma-buf: Relax the write-seqlock for reallocating the shared fence list

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 16 20:05:46 UTC 2019


Quoting Daniel Vetter (2019-07-16 10:21:54)
> On Fri, Jul 12, 2019 at 09:03:14AM +0100, Chris Wilson wrote:
> > As the set of shared fences is not being changed during reallocation of
> > the reservation list, we can skip updating the write_seqlock.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Cc: Christian König <christian.koenig at amd.com>
> 
> sounds legit.
> 
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> More seriously, I think I convinced myself that we cant see a mess of old
> and new fence arrays anywhere, even without the seqlock retry, so I think
> we should be all good.

Aye, the view remains consistent which is key. Thanks for the review,
pushed to drm-misc-next.
-Chris


More information about the Intel-gfx mailing list