diff options
author | Hyungwon Hwang <human.hwang@samsung.com> | 2015-01-16 23:57:34 +0100 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2015-02-03 15:18:20 +0900 |
commit | 4a9274d5eff61a9632fa59b360f0aee7643405e6 (patch) | |
tree | 5b0c7f70692449c32a88058519501718f56c01b5 | |
parent | a69d3e4f1d0397cf87d688c1a85062ac282081b1 (diff) | |
download | libdrm-4a9274d5eff61a9632fa59b360f0aee7643405e6.tar.gz libdrm-4a9274d5eff61a9632fa59b360f0aee7643405e6.tar.bz2 libdrm-4a9274d5eff61a9632fa59b360f0aee7643405e6.zip |
exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctlssubmit/tizen_3.0.2014.q4_common/20150224.000000submit/tizen/20150206.025423submit/tizen/20150206.024952submit/tizen/20150204.080651submit/tizen/20150203.075405accepted/tizen/wearable/20150210.014731accepted/tizen/tv/20150211.042342accepted/tizen/mobile/20150210.015244accepted/tizen/common/20150209.120958accepted/tizen/common/20150209.120851accepted/tizen/3.0.2014.q4/common/20150224.150708tizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonaccepted/tizen_3.0.2014.q4_common
This patch removes the ioctls which are removed from the linux kernel.
Change-Id: I22cc748362aa87e6b62049ff884b1c697d4dec64
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
-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 e7e7f6e3..77c87d5d 100644 --- a/exynos/exynos_drm.h +++ b/exynos/exynos_drm.h @@ -47,38 +47,6 @@ struct drm_exynos_gem_create { }; /** - * A structure for getting buffer offset. - * - * @handle: a pointer to gem object created. - * @pad: just padding to be 64-bit aligned. - * @offset: relatived offset value of the memory region allocated. - * - this value should be set by user. - */ -struct drm_exynos_gem_map_off { - unsigned int handle; - unsigned int pad; - uint64_t offset; -}; - -/** - * A structure for mapping buffer. - * - * @handle: a handle to gem object created. - * @pad: just padding to be 64-bit aligned. - * @size: memory size to be mapped. - * @mapped: having user virtual address mmaped. - * - this variable would be filled by exynos gem module - * of kernel side with user virtual address which is allocated - * by do_mmap(). - */ -struct drm_exynos_gem_mmap { - unsigned int handle; - unsigned int pad; - uint64_t size; - uint64_t mapped; -}; - -/** * A structure to gem information. * * @handle: a handle to gem object created. @@ -409,8 +377,6 @@ struct drm_exynos_ipp_cmd_ctrl { }; #define DRM_EXYNOS_GEM_CREATE 0x00 -#define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 -#define DRM_EXYNOS_GEM_MMAP 0x02 /* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ #define DRM_EXYNOS_GEM_GET 0x04 #define DRM_EXYNOS_VIDI_CONNECTION 0x07 @@ -429,12 +395,6 @@ struct drm_exynos_ipp_cmd_ctrl { #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) -#define DRM_IOCTL_EXYNOS_GEM_MAP_OFFSET DRM_IOWR(DRM_COMMAND_BASE + \ - DRM_EXYNOS_GEM_MAP_OFFSET, struct drm_exynos_gem_map_off) - -#define DRM_IOCTL_EXYNOS_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + \ - DRM_EXYNOS_GEM_MMAP, struct drm_exynos_gem_mmap) - #define DRM_IOCTL_EXYNOS_GEM_GET DRM_IOWR(DRM_COMMAND_BASE + \ DRM_EXYNOS_GEM_GET, struct drm_exynos_gem_info) |