Go to the documentation of this file.
29 #ifndef _UAPI_EXYNOS_DRM_H_
30 #define _UAPI_EXYNOS_DRM_H_
157 #define DRM_EXYNOS_GEM_CREATE 0x00
158 #define DRM_EXYNOS_GEM_MAP_OFFSET 0x01
159 #define DRM_EXYNOS_GEM_MMAP 0x02
161 #define DRM_EXYNOS_GEM_GET 0x04
162 #define DRM_EXYNOS_VIDI_CONNECTION 0x07
165 #define DRM_EXYNOS_G2D_GET_VER 0x20
166 #define DRM_EXYNOS_G2D_SET_CMDLIST 0x21
167 #define DRM_EXYNOS_G2D_EXEC 0x22
169 #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \
170 DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create)
172 #define DRM_IOCTL_EXYNOS_GEM_MAP_OFFSET DRM_IOWR(DRM_COMMAND_BASE + \
173 DRM_EXYNOS_GEM_MAP_OFFSET, struct drm_exynos_gem_map_off)
175 #define DRM_IOCTL_EXYNOS_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + \
176 DRM_EXYNOS_GEM_MMAP, struct drm_exynos_gem_mmap)
178 #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \
179 DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info)
181 #define DRM_IOCTL_EXYNOS_VIDI_CONNECTION DRM_IOWR(DRM_COMMAND_BASE + \
182 DRM_EXYNOS_VIDI_CONNECTION, struct drm_exynos_vidi_connection)
184 #define DRM_IOCTL_EXYNOS_G2D_GET_VER DRM_IOWR(DRM_COMMAND_BASE + \
185 DRM_EXYNOS_G2D_GET_VER, struct drm_exynos_g2d_get_ver)
186 #define DRM_IOCTL_EXYNOS_G2D_SET_CMDLIST DRM_IOWR(DRM_COMMAND_BASE + \
187 DRM_EXYNOS_G2D_SET_CMDLIST, struct drm_exynos_g2d_set_cmdlist)
188 #define DRM_IOCTL_EXYNOS_G2D_EXEC DRM_IOWR(DRM_COMMAND_BASE + \
189 DRM_EXYNOS_G2D_EXEC, struct drm_exynos_g2d_exec)
192 #define DRM_EXYNOS_G2D_EVENT 0x80000000