diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-05 00:01:31 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-07 21:40:23 -0400 |
commit | 43aba7eb0dc052d84e88f3569ea3f030868d49b2 (patch) | |
tree | bc53dc854ba0327bb10339e0442ee6e640fec28b /include/drm | |
parent | 65c2a89c30ed63db15fbbdba41b74e5f47278897 (diff) |
drm: add a path blob property
This property will be used by the MST code to provide userspace
with a path to parse so it can recognise connectors around hotplugs.
Reviewed-by: Todd Previte <tprevite@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index eb0f6f36385e..4da62072701c 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -524,6 +524,8 @@ struct drm_connector { | |||
524 | struct drm_property_blob *edid_blob_ptr; | 524 | struct drm_property_blob *edid_blob_ptr; |
525 | struct drm_object_properties properties; | 525 | struct drm_object_properties properties; |
526 | 526 | ||
527 | struct drm_property_blob *path_blob_ptr; | ||
528 | |||
527 | uint8_t polled; /* DRM_CONNECTOR_POLL_* */ | 529 | uint8_t polled; /* DRM_CONNECTOR_POLL_* */ |
528 | 530 | ||
529 | /* requested DPMS state */ | 531 | /* requested DPMS state */ |
@@ -803,6 +805,7 @@ struct drm_mode_config { | |||
803 | struct list_head property_blob_list; | 805 | struct list_head property_blob_list; |
804 | struct drm_property *edid_property; | 806 | struct drm_property *edid_property; |
805 | struct drm_property *dpms_property; | 807 | struct drm_property *dpms_property; |
808 | struct drm_property *path_property; | ||
806 | struct drm_property *plane_type_property; | 809 | struct drm_property *plane_type_property; |
807 | 810 | ||
808 | /* DVI-I properties */ | 811 | /* DVI-I properties */ |
@@ -952,6 +955,8 @@ extern void drm_mode_config_init(struct drm_device *dev); | |||
952 | extern void drm_mode_config_reset(struct drm_device *dev); | 955 | extern void drm_mode_config_reset(struct drm_device *dev); |
953 | extern void drm_mode_config_cleanup(struct drm_device *dev); | 956 | extern void drm_mode_config_cleanup(struct drm_device *dev); |
954 | 957 | ||
958 | extern int drm_mode_connector_set_path_property(struct drm_connector *connector, | ||
959 | char *path); | ||
955 | extern int drm_mode_connector_update_edid_property(struct drm_connector *connector, | 960 | extern int drm_mode_connector_update_edid_property(struct drm_connector *connector, |
956 | struct edid *edid); | 961 | struct edid *edid); |
957 | 962 | ||