]> git.dujemihanovic.xyz Git - linux.git/commit
drm/atomic: Allow userspace to use explicit sync with atomic async flips
authorAndré Almeida <andrealmeid@igalia.com>
Tue, 2 Jul 2024 21:22:14 +0000 (18:22 -0300)
committerSimon Ser <contact@emersion.fr>
Wed, 31 Jul 2024 18:48:57 +0000 (20:48 +0200)
commite0fa4132bfae725a60c50d53bac80ec31fc20d89
tree40e462d8ffbddb267e69ca0e511f77869ff14723
parent0ce91928ec62d189b5c51816e325f02587b53118
drm/atomic: Allow userspace to use explicit sync with atomic async flips

Allow userspace to use explicit synchronization with atomic async flips.
That means that the flip will wait for some hardware fence, and then
will flip as soon as possible (async) in regard of the vblank.

Fixes: 0e26cc72c71c ("drm: Refuse to async flip with atomic prop changes")
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20240702212215.109696-1-andrealmeid@igalia.com
drivers/gpu/drm/drm_atomic_uapi.c