summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/drm.h
diff options
context:
space:
mode:
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>2021-06-09 20:00:38 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-06-10 19:14:47 +0200
commit26594678d00f94c62f2e43162bd6d10fd0b74917 (patch)
tree15cfd9e705f60f75ba4e2cec3f5986dd4e5da385 /include/uapi/drm/drm.h
parent86441fa29e57940eeb00f35fefb1853c1fbe67bb (diff)
downloadlinux-26594678d00f94c62f2e43162bd6d10fd0b74917.tar.gz
linux-26594678d00f94c62f2e43162bd6d10fd0b74917.tar.bz2
linux-26594678d00f94c62f2e43162bd6d10fd0b74917.zip
drm/doc: document how userspace should find out CRTC index
In this patch we add a section to document what userspace should do to find out the CRTC index. This is important as they may be many places in the documentation that need this, so it's better to just point to this section and avoid repetition. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210609230039.73307-2-leandro.ribeiro@collabora.com
Diffstat (limited to 'include/uapi/drm/drm.h')
-rw-r--r--include/uapi/drm/drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index d043752a74cf..e1f49dd241f7 100644
--- a/include/uapi/drm/drm.h
+++ b/include/uapi/drm/drm.h
@@ -635,8 +635,8 @@ struct drm_gem_open {
/**
* DRM_CAP_VBLANK_HIGH_CRTC
*
- * If set to 1, the kernel supports specifying a CRTC index in the high bits of
- * &drm_wait_vblank_request.type.
+ * If set to 1, the kernel supports specifying a :ref:`CRTC index<crtc_index>`
+ * in the high bits of &drm_wait_vblank_request.type.
*
* Starting kernel version 2.6.39, this capability is always set to 1.
*/