Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / drivers / gpu / drm / omapdrm / omap_plane.h
blobdc5e82ad061d32c5eef2bfc55a748d6db67b71bd
1 /*
2 * omap_plane.h -- OMAP DRM Plane
4 * Copyright (C) 2011 Texas Instruments
5 * Author: Rob Clark <rob@ti.com>
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.
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.
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/>.
20 #ifndef __OMAPDRM_PLANE_H__
21 #define __OMAPDRM_PLANE_H__
23 #include <linux/types.h>
25 enum drm_plane_type;
27 struct drm_device;
28 struct drm_mode_object;
29 struct drm_plane;
31 struct drm_plane *omap_plane_init(struct drm_device *dev,
32 int idx, enum drm_plane_type type,
33 u32 possible_crtcs);
34 void omap_plane_install_properties(struct drm_plane *plane,
35 struct drm_mode_object *obj);
37 #endif /* __OMAPDRM_PLANE_H__ */