Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,35 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef _VKMS_CONNECTOR_H_
#define _VKMS_CONNECTOR_H_
#include "vkms_drv.h"
#define drm_connector_to_vkms_connector(target) \
container_of(target, struct vkms_connector, base)
/**
* struct vkms_connector - VKMS custom type wrapping around the DRM connector
*
* @drm: Base DRM connector
*/
struct vkms_connector {
struct drm_connector base;
};
/**
* vkms_connector_init() - Initialize a connector
* @vkmsdev: VKMS device containing the connector
*
* Returns:
* The connector or an error on failure.
*/
struct vkms_connector *vkms_connector_init(struct vkms_device *vkmsdev);
/**
* vkms_trigger_connector_hotplug() - Update the device's connectors status
* @vkmsdev: VKMS device to update
*/
void vkms_trigger_connector_hotplug(struct vkms_device *vkmsdev);
#endif /* _VKMS_CONNECTOR_H_ */