aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJouni Högander <[email protected]>2023-09-01 12:35:00 +0300
committerJouni Högander <[email protected]>2023-09-04 12:05:19 +0300
commit1bb2af547a4bc2e053b398573d8ec7c3bf5ce69e (patch)
treebb329f67db21542ae76b7a568743547cb66c090a /lib/mpi/mpiutil.c
parent40320844ca8bda4def0f04d2bd8c2022c867ed86 (diff)
drm/i915: Handle dma fences in dirtyfb callback
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. v4: - Move invalidate before callback is added v3: - Check frontbuffer bits before adding any fence fb - Flush only when adding fence cb succeeds v2: Use dma_resv_get_singleton Signed-off-by: Jouni Högander <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions