GNU Linux-libre 4.19.245-gnu1
[releases.git] / drivers / gpu / drm / xen / xen_drm_front_kms.h
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_KMS_H_
12 #define __XEN_DRM_FRONT_KMS_H_
13
14 #include <linux/types.h>
15
16 struct xen_drm_front_drm_info;
17 struct xen_drm_front_drm_pipeline;
18
19 int xen_drm_front_kms_init(struct xen_drm_front_drm_info *drm_info);
20
21 void xen_drm_front_kms_fini(struct xen_drm_front_drm_info *drm_info);
22
23 void xen_drm_front_kms_on_frame_done(struct xen_drm_front_drm_pipeline *pipeline,
24                                      u64 fb_cookie);
25
26 #endif /* __XEN_DRM_FRONT_KMS_H_ */