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