xref: /openbmc/linux/drivers/gpu/drm/xlnx/zynqmp_dp.h (revision 52cdded0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * ZynqMP DisplayPort Driver
4  *
5  * Copyright (C) 2017 - 2020 Xilinx, Inc.
6  *
7  * Authors:
8  * - Hyun Woo Kwon <hyun.kwon@xilinx.com>
9  * - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
10  */
11 
12 #ifndef _ZYNQMP_DP_H_
13 #define _ZYNQMP_DP_H_
14 
15 struct drm_device;
16 struct platform_device;
17 struct zynqmp_dp;
18 struct zynqmp_dpsub;
19 
20 void zynqmp_dp_enable_vblank(struct zynqmp_dp *dp);
21 void zynqmp_dp_disable_vblank(struct zynqmp_dp *dp);
22 
23 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub);
24 int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm);
25 void zynqmp_dp_remove(struct zynqmp_dpsub *dpsub);
26 
27 #endif /* _ZYNQMP_DP_H_ */
28