aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/exynos_drm.h
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2012-06-27 01:27:06 -0400
committerInki Dae <inki.dae@samsung.com>2012-07-26 22:13:54 -0400
commit00ae67cf26fad3889e71e3bdbec012b1f938dc0e (patch)
tree577465229758f7095b4cc132f7f3e0badd8a806c /include/drm/exynos_drm.h
parent4070d212eb54ec9f204646d95c17d95ad812a008 (diff)
drm/exynos: add property for plane zpos
The exynos drm driver used a specific ioctl - DRM_EXYNOS_PLANE_SET_ZPOS to set zpos of plane. It can be substitute to property of plane. This patch adds a property for plane zpos and removes DRM_EXYNOS_PLANE_SET_ZPOS ioctl. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r--include/drm/exynos_drm.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index 68733587e700..c20b00181530 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -107,11 +107,6 @@ struct drm_exynos_vidi_connection {
107 uint64_t edid; 107 uint64_t edid;
108}; 108};
109 109
110struct drm_exynos_plane_set_zpos {
111 __u32 plane_id;
112 __s32 zpos;
113};
114
115/* memory type definitions. */ 110/* memory type definitions. */
116enum e_drm_exynos_gem_mem_type { 111enum e_drm_exynos_gem_mem_type {
117 /* Physically Continuous memory and used as default. */ 112 /* Physically Continuous memory and used as default. */
@@ -164,7 +159,6 @@ struct drm_exynos_g2d_exec {
164#define DRM_EXYNOS_GEM_MMAP 0x02 159#define DRM_EXYNOS_GEM_MMAP 0x02
165/* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ 160/* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */
166#define DRM_EXYNOS_GEM_GET 0x04 161#define DRM_EXYNOS_GEM_GET 0x04
167#define DRM_EXYNOS_PLANE_SET_ZPOS 0x06
168#define DRM_EXYNOS_VIDI_CONNECTION 0x07 162#define DRM_EXYNOS_VIDI_CONNECTION 0x07
169 163
170/* G2D */ 164/* G2D */
@@ -184,9 +178,6 @@ struct drm_exynos_g2d_exec {
184#define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ 178#define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \
185 DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) 179 DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info)
186 180
187#define DRM_IOCTL_EXYNOS_PLANE_SET_ZPOS DRM_IOWR(DRM_COMMAND_BASE + \
188 DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos)
189
190#define DRM_IOCTL_EXYNOS_VIDI_CONNECTION DRM_IOWR(DRM_COMMAND_BASE + \ 181#define DRM_IOCTL_EXYNOS_VIDI_CONNECTION DRM_IOWR(DRM_COMMAND_BASE + \
191 DRM_EXYNOS_VIDI_CONNECTION, struct drm_exynos_vidi_connection) 182 DRM_EXYNOS_VIDI_CONNECTION, struct drm_exynos_vidi_connection)
192 183