Commit f1bfcad6 authored by Simon Ser's avatar Simon Ser

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: default avatarSimon Ser <contact@emersion.fr>
Acked-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230717131305.616855-1-contact@emersion.fr
parent 9a2eabf4
...@@ -488,6 +488,9 @@ struct drm_mode_get_connector { ...@@ -488,6 +488,9 @@ struct drm_mode_get_connector {
* This is not an object ID. This is a per-type connector number. Each * 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 * (type, type_id) combination is unique across all connectors of a DRM
* device. * 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; __u32 connector_type_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment