Re: [PATCH 2/2] drm: document DRM_IOCTL_GEM_CLOSE

2023-02-17 Thread Simon Ser
On Thursday, February 16th, 2023 at 20:48, Daniel Vetter wrote: > I'd duplicate the relevant parts into each ioctl doc too, just to increase > the chances people notice these caveats. Hm, I'd rather not duplicate, this makes it very easy for each version to go out-of-sync with the rest. I will

Re: [PATCH 2/2] drm: document DRM_IOCTL_GEM_CLOSE

2023-02-17 Thread Pekka Paalanen
On Thu, 16 Feb 2023 20:48:05 +0100 Daniel Vetter wrote: > On Thu, Feb 16, 2023 at 01:09:45PM +, Simon Ser wrote: > > This is a bit tricky, because of the ref'counting considerations. > > See also [1] for more discussion about this topic. Since this is > > kernel docs, I've decided to

Re: [PATCH 2/2] drm: document DRM_IOCTL_GEM_CLOSE

2023-02-16 Thread Daniel Vetter
On Thu, Feb 16, 2023 at 01:09:45PM +, Simon Ser wrote: > This is a bit tricky, because of the ref'counting considerations. > See also [1] for more discussion about this topic. Since this is > kernel docs, I've decided to elaborate a bit less on the user-space > details. > > [1]:

[PATCH 2/2] drm: document DRM_IOCTL_GEM_CLOSE

2023-02-16 Thread Simon Ser
This is a bit tricky, because of the ref'counting considerations. See also [1] for more discussion about this topic. Since this is kernel docs, I've decided to elaborate a bit less on the user-space details. [1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/110 Signed-off-by: Simon