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