summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-18 10:47:25 +0200
committerSimon Ser <contact@emersion.fr>2021-11-02 14:27:06 +0100
commit0d6a8c5e96833f644b91528de6a3a4398214fb9c (patch)
tree1c4e617fa6069501df5d53d41b315d6611c5a462 /include
parentdrm/sched: Avoid lockdep spalt on killing a processes (diff)
downloadlinux-0d6a8c5e96833f644b91528de6a3a4398214fb9c.tar.xz
linux-0d6a8c5e96833f644b91528de6a3a4398214fb9c.zip
drm/sysfs: introduce drm_sysfs_connector_hotplug_event
This function sends a hotplug uevent with a CONNECTOR property. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211018084707.32253-2-contact@emersion.fr
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_sysfs.h b/include/drm/drm_sysfs.h
index d454ef617b2c..6273cac44e47 100644
--- a/include/drm/drm_sysfs.h
+++ b/include/drm/drm_sysfs.h
@@ -11,6 +11,7 @@ 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_hotplug_event(struct drm_connector *connector);
void drm_sysfs_connector_status_event(struct drm_connector *connector,
struct drm_property *property);
#endif