drm: re-add deleted doc for drm_gem_open_ioctl
Subsystems (3)
PATCH 1/1 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]>
--- drivers/gpu/drm/drm_gem.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_gem.c +3 -0
@@ -871,6 +871,9 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data,* @file_priv: drm file-private structure * * Open an object using the global name, returning a handle and the size. +* +* This handle (of course) holds a reference to the object, so the object +* will not go away until the handle is deleted. */ int drm_gem_open_ioctl(struct drm_device *dev, void *data,
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
[email protected]
AppliedQuoted 15 lines · Steve Cohen
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]>--- drivers/gpu/drm/drm_gem.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/drm_gem.c +0
-0
drivers/gpu/drm/drm_gem.c drm_gem_flink_ioctl(struct drm_device *dev, void *data, · line 876
Quoted 6 lines
drivers/gpu/drm/drm_gem.c +3
-0@@ -871,6 +871,9 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data,* @file_priv: drm file-private structure * * Open an object using the global name, returning a handle and the size. +* +* This handle (of course) holds a reference to the object, so the object +* will not go away until the handle is deleted.
Applied, thanks.
-Daniel
Quoted 7 lines
drivers/gpu/drm/drm_gem.c +0
-0*/ int drm_gem_open_ioctl(struct drm_device *dev, void *data,Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch