diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2019-08-01 13:41:16 +0200 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2019-08-06 09:46:54 +0200 |
commit | 6fe2ce064936efe5fbf2ce62c0b9be790d75189f (patch) | |
tree | e3ee1656976a05c9bdd885e0ee9934619f98dde9 /include | |
parent | drm/i915: Attach content type property (diff) | |
download | linux-6fe2ce064936efe5fbf2ce62c0b9be790d75189f.tar.xz linux-6fe2ce064936efe5fbf2ce62c0b9be790d75189f.zip |
drm: uevent for connector status change
DRM API for generating uevent for a status changes of connector's
property.
This uevent will have following details related to the status change:
HOTPLUG=1, CONNECTOR=<connector_id> and PROPERTY=<property_id>
Pekka have completed the Weston DRM-backend review in
https://gitlab.freedesktop.org/wayland/weston/merge_requests/48
and the UAPI for HDCP 2.2 looks good.
The userspace is accepted in Weston.
v2:
Minor fixes at KDoc comments [Daniel]
v3:
Check the property is really attached with connector [Daniel]
v4:
Typos and string length suggestions are addressed [Sean]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sean Paul <sean@poorly.run>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/320961/?series=57232&rev=14
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_sysfs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_sysfs.h b/include/drm/drm_sysfs.h index 4f311e836cdc..d454ef617b2c 100644 --- a/include/drm/drm_sysfs.h +++ b/include/drm/drm_sysfs.h @@ -4,10 +4,13 @@ struct drm_device; struct device; +struct drm_connector; +struct drm_property; int drm_class_device_register(struct device *dev); void drm_class_device_unregister(struct device *dev); void drm_sysfs_hotplug_event(struct drm_device *dev); - +void drm_sysfs_connector_status_event(struct drm_connector *connector, + struct drm_property *property); #endif |