Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Handle dma fences in dirtyfb callback

2023-08-30 Thread Hogander, Jouni
On Tue, 2023-08-29 at 12:30 +0300, Ville Syrjälä wrote: > On Thu, Jul 27, 2023 at 08:35:18AM +0300, Jouni Högander wrote: > > Take into account dma fences in dirtyfb callback. If there is no > > unsignaled dma fences perform flush immediately. If there are > > unsignaled dma fences perform invalida

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Handle dma fences in dirtyfb callback

2023-08-29 Thread Ville Syrjälä
On Thu, Jul 27, 2023 at 08:35:18AM +0300, Jouni Högander wrote: > Take into account dma fences in dirtyfb callback. If there is no > unsignaled dma fences perform flush immediately. If there are > unsignaled dma fences perform invalidate and add callback which will > queue flush when the fence gets

[Intel-gfx] [PATCH v2 4/4] drm/i915: Handle dma fences in dirtyfb callback

2023-07-26 Thread Jouni Högander
Take into account dma fences in dirtyfb callback. If there is no unsignaled dma fences perform flush immediately. If there are unsignaled dma fences perform invalidate and add callback which will queue flush when the fence gets signaled. v2: Use dma_resv_get_singleton Signed-off-by: Jouni Högande