drm/doc: document how userspace should find out CRTC index
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Wed, 9 Jun 2021 23:00:38 +0000 (20:00 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jun 2021 17:14:47 +0000 (19:14 +0200)
commit26594678d00f94c62f2e43162bd6d10fd0b74917
tree15cfd9e705f60f75ba4e2cec3f5986dd4e5da385
parent86441fa29e57940eeb00f35fefb1853c1fbe67bb
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
Documentation/gpu/drm-uapi.rst
drivers/gpu/drm/drm_debugfs_crc.c
include/uapi/drm/drm.h