Skip to content

Commit 88b02eb

Browse files
committed
drm/doc: describe PATH format for DP MST
This is already uAPI, xserver parses it. It's useful to document since user-space might want to lookup the parent connector. Additionally, people (me included) have misunderstood the PATH property for being stable across reboots, but since a KMS object ID is baked in there that's not the case. So PATH shouldn't be used as-is in config files and such. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Acked-by: Pekka Paalanen <[email protected]> Cc: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent d208d87 commit 88b02eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/drm_connector.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,12 @@ static const u32 dp_colorspaces =
11981198
* drm_connector_set_path_property(), in the case of DP MST with the
11991199
* path property the MST manager created. Userspace cannot change this
12001200
* property.
1201+
*
1202+
* In the case of DP MST, the property has the format
1203+
* ``mst:<parent>-<ports>`` where ``<parent>`` is the KMS object ID of the
1204+
* parent connector and ``<ports>`` is a hyphen-separated list of DP MST
1205+
* port numbers. Note, KMS object IDs are not guaranteed to be stable
1206+
* across reboots.
12011207
* TILE:
12021208
* Connector tile group property to indicate how a set of DRM connector
12031209
* compose together into one logical screen. This is used by both high-res

0 commit comments

Comments
 (0)