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_CRTC_H_ 8*efeeaefeSPaul Kocialkowski #define _LOGICVC_CRTC_H_ 9*efeeaefeSPaul Kocialkowski 10*efeeaefeSPaul Kocialkowski struct drm_pending_vblank_event; 11*efeeaefeSPaul Kocialkowski struct logicvc_drm; 12*efeeaefeSPaul Kocialkowski 13*efeeaefeSPaul Kocialkowski struct logicvc_crtc { 14*efeeaefeSPaul Kocialkowski struct drm_crtc drm_crtc; 15*efeeaefeSPaul Kocialkowski struct drm_pending_vblank_event *event; 16*efeeaefeSPaul Kocialkowski }; 17*efeeaefeSPaul Kocialkowski 18*efeeaefeSPaul Kocialkowski void logicvc_crtc_vblank_handler(struct logicvc_drm *logicvc); 19*efeeaefeSPaul Kocialkowski int logicvc_crtc_init(struct logicvc_drm *logicvc); 20*efeeaefeSPaul Kocialkowski 21*efeeaefeSPaul Kocialkowski #endif 22