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>
This commit is contained in:
parent
65c2a89c30
commit
43aba7eb0d
2 changed files with 31 additions and 0 deletions
|
@ -524,6 +524,8 @@ struct drm_connector {
|
|||
struct drm_property_blob *edid_blob_ptr;
|
||||
struct drm_object_properties properties;
|
||||
|
||||
struct drm_property_blob *path_blob_ptr;
|
||||
|
||||
uint8_t polled; /* DRM_CONNECTOR_POLL_* */
|
||||
|
||||
/* requested DPMS state */
|
||||
|
@ -803,6 +805,7 @@ struct drm_mode_config {
|
|||
struct list_head property_blob_list;
|
||||
struct drm_property *edid_property;
|
||||
struct drm_property *dpms_property;
|
||||
struct drm_property *path_property;
|
||||
struct drm_property *plane_type_property;
|
||||
|
||||
/* DVI-I properties */
|
||||
|
@ -952,6 +955,8 @@ extern void drm_mode_config_init(struct drm_device *dev);
|
|||
extern void drm_mode_config_reset(struct drm_device *dev);
|
||||
extern void drm_mode_config_cleanup(struct drm_device *dev);
|
||||
|
||||
extern int drm_mode_connector_set_path_property(struct drm_connector *connector,
|
||||
char *path);
|
||||
extern int drm_mode_connector_update_edid_property(struct drm_connector *connector,
|
||||
struct edid *edid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue