1 /* $NetBSD: xen_drm_front_kms.h,v 1.2 2021/12/18 23:45:45 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 5 /* 6 * Xen para-virtual DRM device 7 * 8 * Copyright (C) 2016-2018 EPAM Systems Inc. 9 * 10 * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> 11 */ 12 13 #ifndef __XEN_DRM_FRONT_KMS_H_ 14 #define __XEN_DRM_FRONT_KMS_H_ 15 16 #include <linux/types.h> 17 18 struct xen_drm_front_drm_info; 19 struct xen_drm_front_drm_pipeline; 20 21 int xen_drm_front_kms_init(struct xen_drm_front_drm_info *drm_info); 22 23 void xen_drm_front_kms_fini(struct xen_drm_front_drm_info *drm_info); 24 25 void xen_drm_front_kms_on_frame_done(struct xen_drm_front_drm_pipeline *pipeline, 26 u64 fb_cookie); 27 28 #endif /* __XEN_DRM_FRONT_KMS_H_ */ 29