summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-22 12:03:04 +1000
committerDave Airlie <airlied@redhat.com>2014-11-10 10:21:14 +1000
commitcc7096fb6d1dfbdac5e7e2675c046fd40646cc66 (patch)
tree4565b126ca999369851c1efcd02952fbbb8f6885 /drivers
parent122387a53eeac62e6546fd707259b63feca2d839 (diff)
downloadop-kernel-dev-cc7096fb6d1dfbdac5e7e2675c046fd40646cc66.zip
op-kernel-dev-cc7096fb6d1dfbdac5e7e2675c046fd40646cc66.tar.gz
drm/mode: document path property and function to set it. (v1.1)
These two didn't get documented properly, do so. Pointed out by Daniel. v1.1: add missing boilerplate (Daniel) Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_crtc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 0f3c24c..e6c1691 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -4005,6 +4005,19 @@ done:
return ret;
}
+/**
+ * drm_mode_connector_set_path_property - set tile property on connector
+ * @connector: connector to set property on.
+ * @path: path to use for property.
+ *
+ * This creates a property to expose to userspace to specify a
+ * connector path. This is mainly used for DisplayPort MST where
+ * connectors have a topology and we want to allow userspace to give
+ * them more meaningful names.
+ *
+ * Returns:
+ * Zero on success, errno on failure.
+ */
int drm_mode_connector_set_path_property(struct drm_connector *connector,
char *path)
{
OpenPOWER on IntegriCloud