diff options
Diffstat (limited to 'exynos')
-rw-r--r-- | exynos/exynos_drm.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h index c3c6579e..256c02f0 100644 --- a/exynos/exynos_drm.h +++ b/exynos/exynos_drm.h | |||
@@ -47,38 +47,6 @@ struct drm_exynos_gem_create { | |||
47 | }; | 47 | }; |
48 | 48 | ||
49 | /** | 49 | /** |
50 | * A structure for getting buffer offset. | ||
51 | * | ||
52 | * @handle: a pointer to gem object created. | ||
53 | * @pad: just padding to be 64-bit aligned. | ||
54 | * @offset: relatived offset value of the memory region allocated. | ||
55 | * - this value should be set by user. | ||
56 | */ | ||
57 | struct drm_exynos_gem_map_off { | ||
58 | unsigned int handle; | ||
59 | unsigned int pad; | ||
60 | uint64_t offset; | ||
61 | }; | ||
62 | |||
63 | /** | ||
64 | * A structure for mapping buffer. | ||
65 | * | ||
66 | * @handle: a handle to gem object created. | ||
67 | * @pad: just padding to be 64-bit aligned. | ||
68 | * @size: memory size to be mapped. | ||
69 | * @mapped: having user virtual address mmaped. | ||
70 | * - this variable would be filled by exynos gem module | ||
71 | * of kernel side with user virtual address which is allocated | ||
72 | * by do_mmap(). | ||
73 | */ | ||
74 | struct drm_exynos_gem_mmap { | ||
75 | unsigned int handle; | ||
76 | unsigned int pad; | ||
77 | uint64_t size; | ||
78 | uint64_t mapped; | ||
79 | }; | ||
80 | |||
81 | /** | ||
82 | * A structure to gem information. | 50 | * A structure to gem information. |
83 | * | 51 | * |
84 | * @handle: a handle to gem object created. | 52 | * @handle: a handle to gem object created. |
@@ -164,8 +132,6 @@ struct drm_exynos_g2d_exec { | |||
164 | }; | 132 | }; |
165 | 133 | ||
166 | #define DRM_EXYNOS_GEM_CREATE 0x00 | 134 | #define DRM_EXYNOS_GEM_CREATE 0x00 |
167 | #define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 | ||
168 | #define DRM_EXYNOS_GEM_MMAP 0x02 | ||
169 | /* Reserved 0x04 ~ 0x05 for exynos specific gem ioctl */ | 135 | /* Reserved 0x04 ~ 0x05 for exynos specific gem ioctl */ |
170 | #define DRM_EXYNOS_GEM_GET 0x04 | 136 | #define DRM_EXYNOS_GEM_GET 0x04 |
171 | #define DRM_EXYNOS_VIDI_CONNECTION 0x07 | 137 | #define DRM_EXYNOS_VIDI_CONNECTION 0x07 |
@@ -178,12 +144,6 @@ struct drm_exynos_g2d_exec { | |||
178 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ | 144 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ |
179 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) | 145 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) |
180 | 146 | ||
181 | #define DRM_IOCTL_EXYNOS_GEM_MAP_OFFSET DRM_IOWR(DRM_COMMAND_BASE + \ | ||
182 | DRM_EXYNOS_GEM_MAP_OFFSET, struct drm_exynos_gem_map_off) | ||
183 | |||
184 | #define DRM_IOCTL_EXYNOS_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + \ | ||
185 | DRM_EXYNOS_GEM_MMAP, struct drm_exynos_gem_mmap) | ||
186 | |||
187 | #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ | 147 | #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ |
188 | DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) | 148 | DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) |
189 | 149 | ||