Re: [RFC PATCH v2] dma-buf: Add a capabilities directory

2022-05-26 Thread Jason Ekstrand
On Thu, May 26, 2022 at 12:40 PM Simon Ser wrote: > To discover support for new DMA-BUF IOCTLs, user-space has no > choice but to try to perform the IOCTL on an existing DMA-BUF. > However, user-space may want to figure out whether or not the > IOCTL is available before it has a DMA-BUF at hand,

Re: [RFC PATCH v2] dma-buf: Add a capabilities directory

2022-05-26 Thread Simon Ser
On Thursday, May 26th, 2022 at 19:40, Simon Ser wrote: > diff --git a/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers > b/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers > index 5d3bc997dc64..682d313689d8 100644 > --- a/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers > +++ b/Do

[RFC PATCH v2] dma-buf: Add a capabilities directory

2022-05-26 Thread Simon Ser
To discover support for new DMA-BUF IOCTLs, user-space has no choice but to try to perform the IOCTL on an existing DMA-BUF. However, user-space may want to figure out whether or not the IOCTL is available before it has a DMA-BUF at hand, e.g. at initialization time in a Wayland compositor. Add a