summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xen/xen_drm_front_kms.h
blob: ab2fbad4fbbf2cdecb0f0f8f2156fb9f27b933cf (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
26
/* 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_KMS_H_
#define __XEN_DRM_FRONT_KMS_H_

#include <linux/types.h>

struct xen_drm_front_drm_info;
struct xen_drm_front_drm_pipeline;

int xen_drm_front_kms_init(struct xen_drm_front_drm_info *drm_info);

void xen_drm_front_kms_fini(struct xen_drm_front_drm_info *drm_info);

void xen_drm_front_kms_on_frame_done(struct xen_drm_front_drm_pipeline *pipeline,
				     u64 fb_cookie);

#endif /* __XEN_DRM_FRONT_KMS_H_ */