diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-09-18 22:02:43 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-10-03 21:06:01 -0400 |
commit | 291257cf4cb0da1e32b672b88e73d22d845c8f93 (patch) | |
tree | 8da8e2b51c144842dc35d0ebe76f05a8d2769cec /include/drm | |
parent | 32aeab17457c13e6a448ba0f6f3c03d6705e5592 (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.h | 10 |
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 { | |||
107 | uint64_t edid; | 107 | uint64_t edid; |
108 | }; | 108 | }; |
109 | 109 | ||
110 | /* Indicate Exynos specific vblank flags */ | ||
111 | enum e_drm_exynos_vblank { | ||
112 | /* | ||
113 | * this flags is used for Virtual Display module | ||
114 | * to use DRM_IOCTL_WAIT_VBLANK feature. for this, | ||
115 | * user should set this flag to vblwait->request.type | ||
116 | */ | ||
117 | _DRM_VBLANK_EXYNOS_VIDI = 2, | ||
118 | }; | ||
119 | |||
110 | /* memory type definitions. */ | 120 | /* memory type definitions. */ |
111 | enum e_drm_exynos_gem_mem_type { | 121 | enum e_drm_exynos_gem_mem_type { |
112 | /* Physically Continuous memory and used as default. */ | 122 | /* Physically Continuous memory and used as default. */ |