Skip to content

Commit f1bfcad

Browse files
committed
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 <[email protected]> Acked-by: Pekka Paalanen <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9a2eabf commit f1bfcad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/uapi/drm/drm_mode.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ struct drm_mode_get_connector {
488488
* This is not an object ID. This is a per-type connector number. Each
489489
* (type, type_id) combination is unique across all connectors of a DRM
490490
* device.
491+
*
492+
* The (type, type_id) combination is not a stable identifier: the
493+
* type_id can change depending on the driver probe order.
491494
*/
492495
__u32 connector_type_id;
493496

0 commit comments

Comments
 (0)