提交 88938bf3 编写于 作者: S Simon Ser

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: NSimon Ser <contact@emersion.fr>
Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: NDaniel Stone <daniels@collabora.com>
Acked-by: NPekka Paalanen <pekka.paalanen@collabora.com>
Link: https://patchwork.freedesktop.org/patch/434201/
上级 f674555e
...@@ -777,9 +777,9 @@ struct drm_get_cap { ...@@ -777,9 +777,9 @@ struct drm_get_cap {
/** /**
* DRM_CLIENT_CAP_STEREO_3D * DRM_CLIENT_CAP_STEREO_3D
* *
* if set to 1, the DRM core will expose the stereo 3D capabilities of the * If set to 1, the DRM core will expose the stereo 3D capabilities of the
* monitor by advertising the supported 3D layouts in the flags of struct * monitor by advertising the supported 3D layouts in the flags of struct
* drm_mode_modeinfo. * drm_mode_modeinfo. See ``DRM_MODE_FLAG_3D_*``.
*/ */
#define DRM_CLIENT_CAP_STEREO_3D 1 #define DRM_CLIENT_CAP_STEREO_3D 1
...@@ -804,6 +804,7 @@ struct drm_get_cap { ...@@ -804,6 +804,7 @@ struct drm_get_cap {
* DRM_CLIENT_CAP_ASPECT_RATIO * DRM_CLIENT_CAP_ASPECT_RATIO
* *
* If set to 1, the DRM core will provide aspect ratio information in modes. * If set to 1, the DRM core will provide aspect ratio information in modes.
* See ``DRM_MODE_FLAG_PIC_AR_*``.
*/ */
#define DRM_CLIENT_CAP_ASPECT_RATIO 4 #define DRM_CLIENT_CAP_ASPECT_RATIO 4
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册