FILE
vkms_connector.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/vkms/vkms_connector.h
1/* SPDX-License-Identifier: GPL-2.0+ */ 2 3#ifndef _VKMS_CONNECTOR_H_ 4#define _VKMS_CONNECTOR_H_ 5 6#include "vkms_drv.h" 7 8#define drm_connector_to_vkms_connector(target) \ 9 container_of(target, struct vkms_connector, base) 10 11/** 12 * struct vkms_connector - VKMS custom type wrapping around the DRM connector 13 * 14 * @drm: Base DRM connector 15 */ 16struct vkms_connector { 17 struct drm_connector base; 18}; 19 20/** 21 * vkms_connector_init() - Initialize a connector 22 * @vkmsdev: VKMS device containing the connector 23 * 24 * Returns: 25 * The connector or an error on failure. 26 */ 27struct vkms_connector *vkms_connector_init(struct vkms_device *vkmsdev); 28 29/** 30 * vkms_trigger_connector_hotplug() - Update the device's connectors status 31 * @vkmsdev: VKMS device to update 32 */ 33void vkms_trigger_connector_hotplug(struct vkms_device *vkmsdev); 34 35#endif /* _VKMS_CONNECTOR_H_ */
~/
Read-only file preview.