Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / drivers / gpu / drm / omapdrm / omap_plane.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * omap_plane.h -- OMAP DRM Plane
4  *
5  * Copyright (C) 2011 Texas Instruments
6  * Author: Rob Clark <rob@ti.com>
7  */
8
9 #ifndef __OMAPDRM_PLANE_H__
10 #define __OMAPDRM_PLANE_H__
11
12 #include <linux/types.h>
13
14 enum drm_plane_type;
15
16 struct drm_device;
17 struct drm_mode_object;
18 struct drm_plane;
19
20 struct drm_plane *omap_plane_init(struct drm_device *dev,
21                 int idx, enum drm_plane_type type,
22                 u32 possible_crtcs);
23 void omap_plane_install_properties(struct drm_plane *plane,
24                 struct drm_mode_object *obj);
25
26 #endif /* __OMAPDRM_PLANE_H__ */