Re: [PATCH v4] drm/syncobj: Extend EXPORT_SYNC_FILE for timeline syncobjs

2025-03-27 Thread Dmitry Osipenko
On 3/28/25 00:36, Rob Clark wrote: ... > static int drm_syncobj_import_sync_file_fence(struct drm_file *file_private, > - int fd, int handle) > + int fd, int handle, u64 point) > { > struct dma_fence *fence

[PATCH v4] drm/syncobj: Extend EXPORT_SYNC_FILE for timeline syncobjs

2025-03-27 Thread Rob Clark
From: Rob Clark Add support for exporting a dma_fence fd for a specific point on a timeline. This is needed for vtest/vpipe[1][2] to implement timeline syncobj support, as it needs a way to turn a point on a timeline back into a dma_fence fd. It also closes an odd omission from the syncobj UAPI