diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-26 14:24:22 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-02-26 14:31:18 +0300 |
commit | b35f90f2d4a63cf2bc427f5c4e33eb86d963e716 (patch) | |
tree | 5cd219372ffd81e13c34909ac87a9016bfe160de /Documentation | |
parent | 5ee0caf161a9a21b9410b29f3cae8e1e98d1b100 (diff) | |
download | linux-b35f90f2d4a63cf2bc427f5c4e33eb86d963e716.tar.xz |
drm/connector: Add helper to get a connector type name
drm_connector.c contains a map of connector types (DRM_MODE_CONNECTOR_*)
to name strings, but doesn't expose it. This leads to drivers having to
store a similar map.
Add a new drm_get_connector_type_name() helper function that return a
name string for a connector type.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-3-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions