diff options
author | Dave Airlie <airlied@redhat.com> | 2017-11-08 18:35:04 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-11-09 22:50:47 -0500 |
commit | e7e62c7ef382f5db0de5e492e558efc9c3d60943 (patch) | |
tree | 26e4e187db37429a5c895e2b761507bf45cf3952 /drivers/gpu/drm | |
parent | a9386bb051931778436db3dd6e3a163f7db92b56 (diff) |
drm/mode_object: fix documentation for object lookups.
The lease updates missed a few bits of docs, fixed up
the wrong name on the property lookup fn as well.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/drm_framebuffer.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_mode_object.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index 2affe53f3fda..279c1035c12d 100644 --- a/drivers/gpu/drm/drm_framebuffer.c +++ b/drivers/gpu/drm/drm_framebuffer.c | |||
@@ -681,6 +681,7 @@ EXPORT_SYMBOL(drm_framebuffer_init); | |||
681 | /** | 681 | /** |
682 | * drm_framebuffer_lookup - look up a drm framebuffer and grab a reference | 682 | * drm_framebuffer_lookup - look up a drm framebuffer and grab a reference |
683 | * @dev: drm device | 683 | * @dev: drm device |
684 | * @file_priv: drm file to check for lease against. | ||
684 | * @id: id of the fb object | 685 | * @id: id of the fb object |
685 | * | 686 | * |
686 | * If successful, this grabs an additional reference to the framebuffer - | 687 | * If successful, this grabs an additional reference to the framebuffer - |
diff --git a/drivers/gpu/drm/drm_mode_object.c b/drivers/gpu/drm/drm_mode_object.c index 7c8b2698c6a7..ce4d2fb32810 100644 --- a/drivers/gpu/drm/drm_mode_object.c +++ b/drivers/gpu/drm/drm_mode_object.c | |||
@@ -151,6 +151,7 @@ struct drm_mode_object *__drm_mode_object_find(struct drm_device *dev, | |||
151 | 151 | ||
152 | /** | 152 | /** |
153 | * drm_mode_object_find - look up a drm object with static lifetime | 153 | * drm_mode_object_find - look up a drm object with static lifetime |
154 | * @dev: drm device | ||
154 | * @file_priv: drm file | 155 | * @file_priv: drm file |
155 | * @id: id of the mode object | 156 | * @id: id of the mode object |
156 | * @type: type of the mode object | 157 | * @type: type of the mode object |