diff options
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/exynos_drm.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 67a751c74a77..5575ed1598bd 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h | |||
| @@ -33,24 +33,6 @@ struct drm_exynos_gem_create { | |||
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | /** | 35 | /** |
| 36 | * A structure for mapping buffer. | ||
| 37 | * | ||
| 38 | * @handle: a handle to gem object created. | ||
| 39 | * @pad: just padding to be 64-bit aligned. | ||
| 40 | * @size: memory size to be mapped. | ||
| 41 | * @mapped: having user virtual address mmaped. | ||
| 42 | * - this variable would be filled by exynos gem module | ||
| 43 | * of kernel side with user virtual address which is allocated | ||
| 44 | * by do_mmap(). | ||
| 45 | */ | ||
| 46 | struct drm_exynos_gem_mmap { | ||
| 47 | unsigned int handle; | ||
| 48 | unsigned int pad; | ||
| 49 | uint64_t size; | ||
| 50 | uint64_t mapped; | ||
| 51 | }; | ||
| 52 | |||
| 53 | /** | ||
| 54 | * A structure to gem information. | 36 | * A structure to gem information. |
| 55 | * | 37 | * |
| 56 | * @handle: a handle to gem object created. | 38 | * @handle: a handle to gem object created. |
| @@ -302,7 +284,6 @@ struct drm_exynos_ipp_cmd_ctrl { | |||
| 302 | }; | 284 | }; |
| 303 | 285 | ||
| 304 | #define DRM_EXYNOS_GEM_CREATE 0x00 | 286 | #define DRM_EXYNOS_GEM_CREATE 0x00 |
| 305 | #define DRM_EXYNOS_GEM_MMAP 0x02 | ||
| 306 | /* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ | 287 | /* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ |
| 307 | #define DRM_EXYNOS_GEM_GET 0x04 | 288 | #define DRM_EXYNOS_GEM_GET 0x04 |
| 308 | #define DRM_EXYNOS_VIDI_CONNECTION 0x07 | 289 | #define DRM_EXYNOS_VIDI_CONNECTION 0x07 |
| @@ -321,9 +302,6 @@ struct drm_exynos_ipp_cmd_ctrl { | |||
| 321 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ | 302 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ |
| 322 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) | 303 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) |
| 323 | 304 | ||
| 324 | #define DRM_IOCTL_EXYNOS_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + \ | ||
| 325 | DRM_EXYNOS_GEM_MMAP, struct drm_exynos_gem_mmap) | ||
| 326 | |||
| 327 | #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ | 305 | #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ |
| 328 | DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) | 306 | DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) |
| 329 | 307 | ||
