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 | |
| 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>
| -rw-r--r-- | drivers/gpu/drm/drm_framebuffer.c | 1 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_mode_object.c | 1 | ||||
| -rw-r--r-- | include/drm/drm_connector.h | 1 | ||||
| -rw-r--r-- | include/drm/drm_crtc.h | 1 | ||||
| -rw-r--r-- | include/drm/drm_encoder.h | 1 | ||||
| -rw-r--r-- | include/drm/drm_plane.h | 1 | ||||
| -rw-r--r-- | include/drm/drm_property.h | 3 |
7 files changed, 8 insertions, 1 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 |
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index b4285c40e1e4..7a7140543012 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h | |||
| @@ -933,6 +933,7 @@ static inline unsigned drm_connector_index(struct drm_connector *connector) | |||
| 933 | /** | 933 | /** |
| 934 | * drm_connector_lookup - lookup connector object | 934 | * drm_connector_lookup - lookup connector object |
| 935 | * @dev: DRM device | 935 | * @dev: DRM device |
| 936 | * @file_priv: drm file to check for lease against. | ||
| 936 | * @id: connector object id | 937 | * @id: connector object id |
| 937 | * | 938 | * |
| 938 | * This function looks up the connector object specified by id | 939 | * This function looks up the connector object specified by id |
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index f7fcceef46d9..a2d81d2907a9 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
| @@ -952,6 +952,7 @@ struct drm_crtc *drm_crtc_from_index(struct drm_device *dev, int idx); | |||
| 952 | /** | 952 | /** |
| 953 | * drm_crtc_find - look up a CRTC object from its ID | 953 | * drm_crtc_find - look up a CRTC object from its ID |
| 954 | * @dev: DRM device | 954 | * @dev: DRM device |
| 955 | * @file_priv: drm file to check for lease against. | ||
| 955 | * @id: &drm_mode_object ID | 956 | * @id: &drm_mode_object ID |
| 956 | * | 957 | * |
| 957 | * This can be used to look up a CRTC from its userspace ID. Only used by | 958 | * This can be used to look up a CRTC from its userspace ID. Only used by |
diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h index 86db0da8bdcb..ee4cfbe63c52 100644 --- a/include/drm/drm_encoder.h +++ b/include/drm/drm_encoder.h | |||
| @@ -208,6 +208,7 @@ static inline bool drm_encoder_crtc_ok(struct drm_encoder *encoder, | |||
| 208 | /** | 208 | /** |
| 209 | * drm_encoder_find - find a &drm_encoder | 209 | * drm_encoder_find - find a &drm_encoder |
| 210 | * @dev: DRM device | 210 | * @dev: DRM device |
| 211 | * @file_priv: drm file to check for lease against. | ||
| 211 | * @id: encoder id | 212 | * @id: encoder id |
| 212 | * | 213 | * |
| 213 | * Returns the encoder with @id, NULL if it doesn't exist. Simple wrapper around | 214 | * Returns the encoder with @id, NULL if it doesn't exist. Simple wrapper around |
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h index 069c4c8ce360..571615079230 100644 --- a/include/drm/drm_plane.h +++ b/include/drm/drm_plane.h | |||
| @@ -591,6 +591,7 @@ int drm_mode_plane_set_obj_prop(struct drm_plane *plane, | |||
| 591 | /** | 591 | /** |
| 592 | * drm_plane_find - find a &drm_plane | 592 | * drm_plane_find - find a &drm_plane |
| 593 | * @dev: DRM device | 593 | * @dev: DRM device |
| 594 | * @file_priv: drm file to check for lease against. | ||
| 594 | * @id: plane id | 595 | * @id: plane id |
| 595 | * | 596 | * |
| 596 | * Returns the plane with @id, NULL if it doesn't exist. Simple wrapper around | 597 | * Returns the plane with @id, NULL if it doesn't exist. Simple wrapper around |
diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h index 429d8218f740..8a522b4bed40 100644 --- a/include/drm/drm_property.h +++ b/include/drm/drm_property.h | |||
| @@ -305,8 +305,9 @@ drm_property_unreference_blob(struct drm_property_blob *blob) | |||
| 305 | } | 305 | } |
| 306 | 306 | ||
| 307 | /** | 307 | /** |
| 308 | * drm_connector_find - find property object | 308 | * drm_property_find - find property object |
| 309 | * @dev: DRM device | 309 | * @dev: DRM device |
| 310 | * @file_priv: drm file to check for lease against. | ||
| 310 | * @id: property object id | 311 | * @id: property object id |
| 311 | * | 312 | * |
| 312 | * This function looks up the property object specified by id and returns it. | 313 | * This function looks up the property object specified by id and returns it. |
