aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Jakobi2015-11-29 21:12:13 -0600
committerEmil Velikov2015-12-18 11:42:54 -0600
commit2191ed904f9301d25d16c8b462ab029a81810601 (patch)
tree8c9298cc4fdb5b87c2b391702683b588ddb7450c /exynos/exynos_drm.h
parentd6ffb997263402eebdcb029e061ae0221925f643 (diff)
downloadexternal-libgbm-2191ed904f9301d25d16c8b462ab029a81810601.tar.gz
external-libgbm-2191ed904f9301d25d16c8b462ab029a81810601.tar.xz
external-libgbm-2191ed904f9301d25d16c8b462ab029a81810601.zip
exynos: Introduce exynos_handle_event()
Used to handle kernel events specific to the Exynos platform. Currently only G2D events are handled. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Diffstat (limited to 'exynos/exynos_drm.h')
-rw-r--r--exynos/exynos_drm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h
index 256c02f0..c3af0ac5 100644
--- a/exynos/exynos_drm.h
+++ b/exynos/exynos_drm.h
@@ -157,4 +157,16 @@ struct drm_exynos_g2d_exec {
157#define DRM_IOCTL_EXYNOS_G2D_EXEC DRM_IOWR(DRM_COMMAND_BASE + \ 157#define DRM_IOCTL_EXYNOS_G2D_EXEC DRM_IOWR(DRM_COMMAND_BASE + \
158 DRM_EXYNOS_G2D_EXEC, struct drm_exynos_g2d_exec) 158 DRM_EXYNOS_G2D_EXEC, struct drm_exynos_g2d_exec)
159 159
160/* EXYNOS specific events */
161#define DRM_EXYNOS_G2D_EVENT 0x80000000
162
163struct drm_exynos_g2d_event {
164 struct drm_event base;
165 __u64 user_data;
166 __u32 tv_sec;
167 __u32 tv_usec;
168 __u32 cmdlist_no;
169 __u32 reserved;
170};
171
160#endif 172#endif