diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2021-03-13 12:25:43 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2021-03-16 12:45:28 +0100 |
commit | 757e26712337be6be70f7405c38cc0639957eedc (patch) | |
tree | a7a59cafca848c2d185bf3d9869b1901b5fd76d7 /drivers/gpu/drm/drm_connector.c | |
parent | f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5 (diff) | |
download | lwn-757e26712337be6be70f7405c38cc0639957eedc.tar.gz lwn-757e26712337be6be70f7405c38cc0639957eedc.zip |
drm/uapi: Add USB connector type
Add a connector type for USB connected display panels.
Some examples of what current userspace will name the connector:
- Weston: "UNNAMED-%d"
- Mutter: "Unknown20-%d"
- X: "Unknown20-%d"
v2:
- Update drm_connector_enum_list
- Add examples to commit message
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210313112545.37527-2-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
-rw-r--r-- | drivers/gpu/drm/drm_connector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 98b6ec45ef96..7631f76e7f34 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -94,6 +94,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = { { DRM_MODE_CONNECTOR_DPI, "DPI" }, { DRM_MODE_CONNECTOR_WRITEBACK, "Writeback" }, { DRM_MODE_CONNECTOR_SPI, "SPI" }, + { DRM_MODE_CONNECTOR_USB, "USB" }, }; void drm_connector_ida_init(void) |