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