Re: [RFC PATCH] drm/syncobj: add IOCTL to register an eventfd for a timeline

2022-10-09 Thread Christian König
Am 09.10.22 um 16:40 schrieb Simon Ser: Introduce a new DRM_IOCTL_SYNCOBJ_TIMELINE_REGISTER_EVENTFD IOCTL which signals an eventfd when a timeline point completes. I was entertaining the same though for quite a while, but I would even go a step further and actually always base the wait before

[RFC PATCH] drm/syncobj: add IOCTL to register an eventfd for a timeline

2022-10-09 Thread Simon Ser
Introduce a new DRM_IOCTL_SYNCOBJ_TIMELINE_REGISTER_EVENTFD IOCTL which signals an eventfd when a timeline point completes. This is useful for Wayland compositors to handle wait-before-submit. Wayland clients can send a timeline point to the compositor before the point has materialized yet, then c