summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2012-09-19 11:02:43 +0900
committerInki Dae <inki.dae@samsung.com>2012-10-04 10:06:01 +0900
commit291257cf4cb0da1e32b672b88e73d22d845c8f93 (patch)
tree8da8e2b51c144842dc35d0ebe76f05a8d2769cec /include/drm
parent32aeab17457c13e6a448ba0f6f3c03d6705e5592 (diff)
drm/exynos: support drm_wait_vblank feature for VIDI
this patch adds drm_wait_vblank support to Virtual Display module so user can use DRM_IOCT_WAIT_VBLANK ioctl with this patch. for this, you should set _DRM_VBLANK_EXYNOS_VIDI flags to vblwait->request.type Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/exynos_drm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index c20b00181530..0d1c503042d5 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -107,6 +107,16 @@ struct drm_exynos_vidi_connection {
uint64_t edid;
};
+/* Indicate Exynos specific vblank flags */
+enum e_drm_exynos_vblank {
+ /*
+ * this flags is used for Virtual Display module
+ * to use DRM_IOCTL_WAIT_VBLANK feature. for this,
+ * user should set this flag to vblwait->request.type
+ */
+ _DRM_VBLANK_EXYNOS_VIDI = 2,
+};
+
/* memory type definitions. */
enum e_drm_exynos_gem_mem_type {
/* Physically Continuous memory and used as default. */