0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef __XEN_DRM_FRONT_CFG_H_
0012 #define __XEN_DRM_FRONT_CFG_H_
0013
0014 #include <linux/types.h>
0015
0016 #define XEN_DRM_FRONT_MAX_CRTCS 4
0017
0018 struct xen_drm_front_cfg_connector {
0019 int width;
0020 int height;
0021 char *xenstore_path;
0022 };
0023
0024 struct xen_drm_front_cfg {
0025 struct xen_drm_front_info *front_info;
0026
0027 int num_connectors;
0028
0029 struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS];
0030
0031 bool be_alloc;
0032 };
0033
0034 int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info,
0035 struct xen_drm_front_cfg *cfg);
0036
0037 #endif