0cf8d292ba
Rename drm_sysfs_connector_status_event() to drm_sysfs_connector_property_event(). Indeed, "status" is a bit vague: it can easily be confused with the connected/disconnected status of the connector. This function has nothing to do with connected/disconnected: it merely sends a notification that a connector's property has changed (e.g. HDCP, privacy screen, etc). Signed-off-by: Simon Ser <contact@emersion.fr> Cc: Manasi Navare <navaremanasi@chromium.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Harry Wentland <harry.wentland@amd.com> Cc: Daniel Vetter <daniel@ffwll.ch> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230620174231.260335-1-contact@emersion.fr
18 lines
512 B
C
18 lines
512 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_property_event(struct drm_connector *connector,
|
|
struct drm_property *property);
|
|
#endif
|