]> Gentwo Git Trees - linux/.git/commit
drm: document DRM_MODE_PAGE_FLIP_EVENT interactions with atomic
authorSimon Ser <contact@emersion.fr>
Thu, 1 May 2025 11:29:51 +0000 (11:29 +0000)
committerSimon Ser <contact@emersion.fr>
Thu, 17 Jul 2025 16:35:28 +0000 (18:35 +0200)
commitb9a572f471993d3e8bf874fcb57f331d66650440
treebf5f8e5659b5326ad2460707a41d369efc6d469d
parent769c153cfc3c6669c7b318f66c2b21ec3951fb4a
drm: document DRM_MODE_PAGE_FLIP_EVENT interactions with atomic

It's not obvious off-hand which CRTCs will get a page-flip event
when using this flag in an atomic commit, because it's all
implicitly implied based on the contents of the atomic commit.
Document requirements for using this flag and how to request an
event for a CRTC.

Note, because prepare_signaling() runs right after
drm_atomic_set_property() calls, page-flip events are not delivered
for CRTCs pulled in later by DRM core (e.g. on modeset by
drm_atomic_helper_check_modeset()) or the driver (e.g. other CRTCs
sharing a DP-MST connector).

v2: fix cut off sentence in commit message (Pekka)

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Simona Vetter <simona@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Pekka Paalanen <pekka.paalanen@collabora.com>
Cc: David Turner <david.turner@raspberrypi.com>
Cc: Daniel Stone <daniel@fooishbar.org>
Link: https://lore.kernel.org/r/20250501112945.6448-1-contact@emersion.fr
include/uapi/drm/drm_mode.h