vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
[linux/fpc-iii.git] / drivers / gpu / drm / xen / xen_drm_front_kms.h
blobab2fbad4fbbf2cdecb0f0f8f2156fb9f27b933cf
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_KMS_H_
12 #define __XEN_DRM_FRONT_KMS_H_
14 #include <linux/types.h>
16 struct xen_drm_front_drm_info;
17 struct xen_drm_front_drm_pipeline;
19 int xen_drm_front_kms_init(struct xen_drm_front_drm_info *drm_info);
21 void xen_drm_front_kms_fini(struct xen_drm_front_drm_info *drm_info);
23 void xen_drm_front_kms_on_frame_done(struct xen_drm_front_drm_pipeline *pipeline,
24 u64 fb_cookie);
26 #endif /* __XEN_DRM_FRONT_KMS_H_ */