aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Cohen <[email protected]>2020-07-29 01:35:52 -0400
committerDaniel Vetter <[email protected]>2020-07-31 11:17:24 +0200
commita9e10b169e65f0f7061233ebe843a4b4f488dbae (patch)
treed8af7e05d9a20d2c8ad2eea540778160df0f22c5
parentc0001213d195d1bac83e0744c06ff06dd5a8ba53 (diff)
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]
-rw-r--r--drivers/gpu/drm/drm_gem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index ee2058ad482c..fe9412219b1e 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -871,6 +871,9 @@ err:
* @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,