blob: 6273cac44e479efe8828feebb8608f9ac9329599 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Thomas Hellstrom327c2252009-08-17 16:28:37 +02002#ifndef _DRM_SYSFS_H_
3#define _DRM_SYSFS_H_
4
Daniel Vettere2271702017-04-04 11:52:55 +02005struct drm_device;
6struct device;
Ramalingam C6fe2ce02019-08-01 17:11:16 +05307struct drm_connector;
8struct drm_property;
Thomas Hellstrom327c2252009-08-17 16:28:37 +02009
Daniel Vetter91faa042017-03-22 09:36:02 +010010int drm_class_device_register(struct device *dev);
11void drm_class_device_unregister(struct device *dev);
Thomas Hellstrom327c2252009-08-17 16:28:37 +020012
Daniel Vettere2271702017-04-04 11:52:55 +020013void drm_sysfs_hotplug_event(struct drm_device *dev);
Simon Ser0d6a8c52021-10-18 08:47:25 +000014void drm_sysfs_connector_hotplug_event(struct drm_connector *connector);
Ramalingam C6fe2ce02019-08-01 17:11:16 +053015void drm_sysfs_connector_status_event(struct drm_connector *connector,
16 struct drm_property *property);
Thomas Hellstrom327c2252009-08-17 16:28:37 +020017#endif