diff options
author | Simon Ser <contact@emersion.fr> | 2023-07-17 15:13:09 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-08-03 12:18:20 +0200 |
commit | f1bfcad68170497bc2132b52322d6314fe6b2120 (patch) | |
tree | 2bd93c063bc69c7e5be2ff54803b6e595097efa7 | |
parent | drm/doc: use proper cross-references for sections (diff) | |
download | linux-f1bfcad68170497bc2132b52322d6314fe6b2120.tar.xz linux-f1bfcad68170497bc2132b52322d6314fe6b2120.zip |
drm/doc: add warning about connector_type_id stability
Mention that the connector_type_id is not stable: it depends on
driver and device probe order.
Signed-off-by: Simon Ser <contact@emersion.fr>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230717131305.616855-1-contact@emersion.fr
-rw-r--r-- | include/uapi/drm/drm_mode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index 92d96a2b6763..ea1b639bcb28 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -488,6 +488,9 @@ struct drm_mode_get_connector { * This is not an object ID. This is a per-type connector number. Each * (type, type_id) combination is unique across all connectors of a DRM * device. + * + * The (type, type_id) combination is not a stable identifier: the + * type_id can change depending on the driver probe order. */ __u32 connector_type_id; |