Skip to content

Commit 88938bf

Browse files
committed
drm: reference mode flags in DRM_CLIENT_CAP_* docs
In the docs for DRM_CLIENT_CAP_STEREO_3D and DRM_CLIENT_CAP_ASPECT_RATIO, reference the DRM_MODE_FLAG_* defines that get set when the cap is enabled. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com> Link: https://patchwork.freedesktop.org/patch/434201/
1 parent f674555 commit 88938bf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎include/uapi/drm/drm.h‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,9 +777,9 @@ struct drm_get_cap {
777777
/**
778778
* DRM_CLIENT_CAP_STEREO_3D
779779
*
780-
* if set to 1, the DRM core will expose the stereo 3D capabilities of the
780+
* If set to 1, the DRM core will expose the stereo 3D capabilities of the
781781
* monitor by advertising the supported 3D layouts in the flags of struct
782-
* drm_mode_modeinfo.
782+
* drm_mode_modeinfo. See ``DRM_MODE_FLAG_3D_*``.
783783
*/
784784
#define DRM_CLIENT_CAP_STEREO_3D 1
785785

@@ -804,6 +804,7 @@ struct drm_get_cap {
804804
* DRM_CLIENT_CAP_ASPECT_RATIO
805805
*
806806
* If set to 1, the DRM core will provide aspect ratio information in modes.
807+
* See ``DRM_MODE_FLAG_PIC_AR_*``.
807808
*/
808809
#define DRM_CLIENT_CAP_ASPECT_RATIO 4
809810

0 commit comments

Comments
 (0)