Skip to content

Commit a9e10b1

Browse files
Steve Cohendanvet
authored andcommitted
drm: re-add deleted doc for drm_gem_open_ioctl
Add back the removed documentation for drm_gem_open_ioctl. This patch is submitted in response to [1]. [1] https://lore.kernel.org/linux-arm-msm/[email protected]/ Signed-off-by: Steve Cohen <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c000121 commit a9e10b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/drm_gem.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,9 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data,
871871
* @file_priv: drm file-private structure
872872
*
873873
* Open an object using the global name, returning a handle and the size.
874+
*
875+
* This handle (of course) holds a reference to the object, so the object
876+
* will not go away until the handle is deleted.
874877
*/
875878
int
876879
drm_gem_open_ioctl(struct drm_device *dev, void *data,

0 commit comments

Comments
 (0)