render/drm_syncobj: fix flags docs for wlr_drm_syncobj_timeline_waiter_init()

wlr_drm_syncobj_timeline_check() is a bit different because zero
will error out if the point has not materialized yet.

Kernel docs for struct drm_syncobj_eventfd:
https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#c.drm_syncobj_eventfd
This commit is contained in:
Simon Ser 2026-03-27 18:09:29 +01:00 committed by Kenny Levinsen
parent f295d0322a
commit a1ed6fca52

View file

@ -97,7 +97,11 @@ bool wlr_drm_syncobj_timeline_signal(struct wlr_drm_syncobj_timeline *timeline,
/**
* Asynchronously wait for a timeline point.
*
* See wlr_drm_syncobj_timeline_check() for a definition of flags.
* Flags can be:
*
* - 0 to wait for the point to be signalled
* - DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE to only wait for a fence to
* materialize
*
* A callback must be provided that will be invoked when the waiter has finished.
*/