1
2
3
4
5
6
7
8
9
10
11 #ifndef __XEN_DRM_FRONT_CFG_H_
12 #define __XEN_DRM_FRONT_CFG_H_
13
14 #include <linux/types.h>
15
16 #define XEN_DRM_FRONT_MAX_CRTCS 4
17
18 struct xen_drm_front_cfg_connector {
19 int width;
20 int height;
21 char *xenstore_path;
22 };
23
24 struct xen_drm_front_cfg {
25 struct xen_drm_front_info *front_info;
26
27 int num_connectors;
28
29 struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS];
30
31 bool be_alloc;
32 };
33
34 int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info,
35 struct xen_drm_front_cfg *cfg);
36
37 #endif