summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xen/xen_drm_front_conn.h
blob: e5f4314899ee7044968bb0101dd36ebecd91254e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0 OR MIT */

/*
 *  Xen para-virtual DRM device
 *
 * Copyright (C) 2016-2018 EPAM Systems Inc.
 *
 * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
 */

#ifndef __XEN_DRM_FRONT_CONN_H_
#define __XEN_DRM_FRONT_CONN_H_

#include <linux/types.h>

struct drm_connector;
struct xen_drm_front_drm_info;


int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
			    struct drm_connector *connector);

const u32 *xen_drm_front_conn_get_formats(int *format_count);

#endif /* __XEN_DRM_FRONT_CONN_H_ */