drm: document drm_mode_get_property
authorSimon Ser <contact@emersion.fr>
Mon, 2 Aug 2021 07:28:35 +0000 (07:28 +0000)
committerSimon Ser <contact@emersion.fr>
Mon, 2 Aug 2021 10:59:33 +0000 (12:59 +0200)
commit6e5b47a4f1dde38d42b054cc6d16b6840de08bd2
tree481b97da66a0d67397a351c902467ec30c07f93d
parent2f425cf5242a019e9e8a6b1fe684b022c94fa7f1
drm: document drm_mode_get_property

It's not obvious what the fields mean and how they should be used.
The most important detail is the link to drm_property.flags, which
describes how property types work.

v2: document enum drm_mode_property_enum, add ref to "Modeset Base
Object Abstraction" (Daniel)

Signed-off-by: Simon Ser <contact@emersion.fr>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210802072826.500078-1-contact@emersion.fr
Documentation/gpu/drm-kms.rst
include/uapi/drm/drm_mode.h