xref: /openbmc/linux/drivers/gpu/drm/sti/sti_gdp.h (revision 2cf1c348)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) STMicroelectronics SA 2014
4  * Authors: Benjamin Gaignard <benjamin.gaignard@st.com>
5  *          Fabien Dessenne <fabien.dessenne@st.com>
6  *          for STMicroelectronics.
7  */
8 
9 #ifndef _STI_GDP_H_
10 #define _STI_GDP_H_
11 
12 #include <linux/types.h>
13 
14 #include <drm/drm_plane.h>
15 
16 struct drm_device;
17 struct device;
18 
19 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev,
20 				 struct device *dev, int desc,
21 				 void __iomem *baseaddr,
22 				 unsigned int possible_crtcs,
23 				 enum drm_plane_type type);
24 #endif
25