xref: /linux/drivers/gpu/drm/logicvc/logicvc_crtc.h (revision 4359a011e259a4608afc7fb3635370c9d4ba5943)
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