1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2019-2022 Bootlin
4  * Author: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
5  */
6 
7 #ifndef _LOGICVC_INTERFACE_H_
8 #define _LOGICVC_INTERFACE_H_
9 
10 #include <drm/drm_bridge.h>
11 #include <drm/drm_connector.h>
12 #include <drm/drm_encoder.h>
13 #include <drm/drm_panel.h>
14 
15 struct logicvc_drm;
16 
17 struct logicvc_interface {
18 	struct drm_encoder drm_encoder;
19 	struct drm_connector drm_connector;
20 
21 	struct drm_panel *drm_panel;
22 	struct drm_bridge *drm_bridge;
23 };
24 
25 void logicvc_interface_attach_crtc(struct logicvc_drm *logicvc);
26 int logicvc_interface_init(struct logicvc_drm *logicvc);
27 
28 #endif
29