[PATCH 1/2] drm: document DRM_IOCTL_PRIME_HANDLE_TO_FD and PRIME_FD_TO_HANDLE
Simon Ser
contact at emersion.fr
Mon Feb 20 15:57:08 UTC 2023
On Monday, February 20th, 2023 at 16:49, Dave Stevenson <dave.stevenson at raspberrypi.com> wrote:
> > + * User-space sets &drm_prime_handle.fd with a DMA-BUF file descriptor to
> > + * import, and gets back a GEM handle in &drm_prime_handle.handle.
> > + * &drm_prime_handle.flags is unused.
>
> Is it worth explicitly stating that the handle would be released via
> DRM_IOCTL_GEM_CLOSE? I've had userspace developers query how to
> release imported handles in the past.
v2 spells this out I think.
More information about the dri-devel
mailing list