xref: /linux/drivers/gpu/drm/xen/xen_drm_front_conn.h (revision e9f0878c4b2004ac19581274c1ae4c61ae3ca70e)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 
3 /*
4  *  Xen para-virtual DRM device
5  *
6  * Copyright (C) 2016-2018 EPAM Systems Inc.
7  *
8  * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
9  */
10 
11 #ifndef __XEN_DRM_FRONT_CONN_H_
12 #define __XEN_DRM_FRONT_CONN_H_
13 
14 #include <drm/drmP.h>
15 #include <drm/drm_crtc.h>
16 #include <drm/drm_encoder.h>
17 
18 #include <linux/wait.h>
19 
20 struct xen_drm_front_drm_info;
21 
22 int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
23 			    struct drm_connector *connector);
24 
25 const u32 *xen_drm_front_conn_get_formats(int *format_count);
26 
27 #endif /* __XEN_DRM_FRONT_CONN_H_ */
28