Loading...
1/*
2 * omap_plane.h -- OMAP DRM Plane
3 *
4 * Copyright (C) 2011 Texas Instruments
5 * Author: Rob Clark <rob@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __OMAPDRM_PLANE_H__
21#define __OMAPDRM_PLANE_H__
22
23#include <linux/types.h>
24
25enum drm_plane_type;
26
27struct drm_device;
28struct drm_mode_object;
29struct drm_plane;
30
31struct drm_plane *omap_plane_init(struct drm_device *dev,
32 int idx, enum drm_plane_type type,
33 u32 possible_crtcs);
34void omap_plane_install_properties(struct drm_plane *plane,
35 struct drm_mode_object *obj);
36
37#endif /* __OMAPDRM_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
14enum drm_plane_type;
15
16struct drm_device;
17struct drm_mode_object;
18struct drm_plane;
19
20struct drm_plane *omap_plane_init(struct drm_device *dev,
21 int idx, enum drm_plane_type type,
22 u32 possible_crtcs);
23void omap_plane_install_properties(struct drm_plane *plane,
24 struct drm_mode_object *obj);
25bool is_omap_plane_dual_overlay(struct drm_plane_state *state);
26
27#endif /* __OMAPDRM_PLANE_H__ */