mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Create a structure wrapping the drm_connector. Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-3-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
26 lines
562 B
C
26 lines
562 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef _VKMS_CONNECTOR_H_
|
|
#define _VKMS_CONNECTOR_H_
|
|
|
|
#include "vkms_drv.h"
|
|
|
|
/**
|
|
* 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);
|
|
|
|
#endif /* _VKMS_CONNECTOR_H_ */
|