Linux 4.2.1
[linux/fpc-iii.git] / drivers / gpu / drm / sti / sti_drm_drv.h
blobc413aa3ff4021449791f3ce73668d8beabdb94c9
1 /*
2 * Copyright (C) STMicroelectronics SA 2014
3 * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
4 * License terms: GNU General Public License (GPL), version 2
5 */
7 #ifndef _STI_DRM_DRV_H_
8 #define _STI_DRM_DRV_H_
10 #include <drm/drmP.h>
12 struct sti_compositor;
13 struct sti_tvout;
15 /**
16 * STI drm private structure
17 * This structure is stored as private in the drm_device
19 * @compo: compositor
20 * @plane_zorder_property: z-order property for CRTC planes
21 * @drm_dev: drm device
23 struct sti_drm_private {
24 struct sti_compositor *compo;
25 struct drm_property *plane_zorder_property;
26 struct drm_device *drm_dev;
28 struct {
29 struct drm_atomic_state *state;
30 struct work_struct work;
31 struct mutex lock;
32 } commit;
35 #endif