xref: /linux/drivers/gpu/drm/omapdrm/omap_plane.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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 bool is_omap_plane_dual_overlay(struct drm_plane_state *state);
26 
27 #endif /* __OMAPDRM_PLANE_H__ */
28