dt-bindings: mtd: ingenic: Use standard ecc-engine property
[linux/fpc-iii.git] / drivers / gpu / drm / xen / xen_drm_front_cfg.h
blobaa8490ba914690519609bb6956b7ca320a7c1055
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
3 /*
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
8 * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
9 */
11 #ifndef __XEN_DRM_FRONT_CFG_H_
12 #define __XEN_DRM_FRONT_CFG_H_
14 #include <linux/types.h>
16 #define XEN_DRM_FRONT_MAX_CRTCS 4
18 struct xen_drm_front_cfg_connector {
19 int width;
20 int height;
21 char *xenstore_path;
24 struct xen_drm_front_cfg {
25 struct xen_drm_front_info *front_info;
26 /* number of connectors in this configuration */
27 int num_connectors;
28 /* connector configurations */
29 struct xen_drm_front_cfg_connector connectors[XEN_DRM_FRONT_MAX_CRTCS];
30 /* set if dumb buffers are allocated externally on backend side */
31 bool be_alloc;
34 int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info,
35 struct xen_drm_front_cfg *cfg);
37 #endif /* __XEN_DRM_FRONT_CFG_H_ */