On 6/1/23 23:15, Hoosier, Matt wrote:
> Hi,
>
>
>
> In the past there has been writing about Wayland’s model using implicit
> synchronization of GPU renderbuffers and KMS commits [1] [2].
>
>
>
> It would sometimes be nice to do that waiting explicitly in a compositor
> before enqueueing
On Friday, June 2nd, 2023 at 12:29, Michel Dänzer wrote:
> > I’m wondering whether there’s an API -- maybe something analogous to
> > drmPrimeHandleToFD() – that allows userspace to fetch a waitable fence fd
> > for a dmabuf?
>
> A dma-buf fd itself can serve this purpose; it polls as readable