projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a2eabf
)
drm/doc: add warning about connector_type_id stability
author
Simon Ser
<contact@emersion.fr>
Mon, 17 Jul 2023 13:13:09 +0000
(13:13 +0000)
committer
Simon Ser
<contact@emersion.fr>
Thu, 3 Aug 2023 10:18:20 +0000
(12:18 +0200)
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
include/uapi/drm/drm_mode.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/drm_mode.h
b/include/uapi/drm/drm_mode.h
index 92d96a2b67633d52ba1a73e5acbcf991e3143022..ea1b639bcb2883745dd07e47b52beabd2bfd4ca8 100644
(file)
--- 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;