xref: /linux/drivers/gpu/drm/xen/xen_drm_front_conn.h (revision 702648721db590b3425c31ade294000e18808345)
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 <linux/types.h>
15 
16 struct drm_connector;
17 struct xen_drm_front_drm_info;
18 
19 
20 int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
21 			    struct drm_connector *connector);
22 
23 const u32 *xen_drm_front_conn_get_formats(int *format_count);
24 
25 #endif /* __XEN_DRM_FRONT_CONN_H_ */
26