summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-08-11 11:59:19 +1000
committerDave Airlie <airlied@redhat.com>2020-08-11 12:00:30 +1000
commit15f9d8b8cf668f24c59322020d267500c48d7383 (patch)
tree9b182d287ca0566d95b2e223122fe9dcdcf09e91 /drivers/gpu/drm/drm_gem.c
parentc44264f9f729fd63bd6a81a6ac5cd6cd49af09e5 (diff)
parentb5ac98cbb8e5e30c34ebc837d1e5a3982d2b5f5c (diff)
downloadlinux-stable-15f9d8b8cf668f24c59322020d267500c48d7383.tar.gz
linux-stable-15f9d8b8cf668f24c59322020d267500c48d7383.tar.bz2
linux-stable-15f9d8b8cf668f24c59322020d267500c48d7383.zip
Merge tag 'drm-misc-fixes-2020-08-04' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
* backmerge from drm-fixes at v5.8-rc7 * add orientation quirk for ASUS T103HAF * drm/omap: force runtime PM suspend on system suspend * drm/tidss: fix modeset init for DPI panels * re-added docs for drm_gem_flink_ioctl() * ttm: fix page-offset calculation within TTM Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20200804125510.GA29670@linux-uq9g
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-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 d4e7c8370565..19d73868490e 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -879,6 +879,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,