mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
0d6a8c5e96
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
18 lines
515 B
C
18 lines
515 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _DRM_SYSFS_H_
|
|
#define _DRM_SYSFS_H_
|
|
|
|
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_hotplug_event(struct drm_connector *connector);
|
|
void drm_sysfs_connector_status_event(struct drm_connector *connector,
|
|
struct drm_property *property);
|
|
#endif
|