From patchwork Fri Oct 31 01:28:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyungwon Hwang X-Patchwork-Id: 5206561 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6DDD49F30B for ; Fri, 31 Oct 2014 19:26:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A7D820172 for ; Fri, 31 Oct 2014 19:26:20 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 664B2201B9 for ; Fri, 31 Oct 2014 19:26:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 567B86E198; Fri, 31 Oct 2014 12:26:15 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 270B66E6FF for ; Thu, 30 Oct 2014 18:28:37 -0700 (PDT) Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEA00EZMC3O8MC0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 31 Oct 2014 10:28:36 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.112]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 12.CE.19034.4C5E2545; Fri, 31 Oct 2014 10:28:36 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-e7-5452e5c4c40e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9D.63.09430.3C5E2545; Fri, 31 Oct 2014 10:28:36 +0900 (KST) Received: from localhost.localdomain ([10.88.98.185]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEA00LZZC3NK140@mmp1.samsung.com>; Fri, 31 Oct 2014 10:28:35 +0900 (KST) From: Hyungwon Hwang To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com Subject: [PATCH 2/2] exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls Date: Fri, 31 Oct 2014 10:28:11 +0900 Message-id: <1414718891-3129-2-git-send-email-human.hwang@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1414718891-3129-1-git-send-email-human.hwang@samsung.com> References: <1414718891-3129-1-git-send-email-human.hwang@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPLMWRmVeSWpSXmKPExsWyRsSkQPfI06AQgy8POC2ufH3PZrF0Rh+r xaT7E1gsXty7yOLA4nG/+ziTR9+WVYwBTFFcNimpOZllqUX6dglcGRd2vmcueC9Y8WD3XMYG xnN8XYycHBICJhLzty1jgbDFJC7cW8/WxcjFISSwlFFi0s/3zDBFJ5auYYFILGKUeH5kKyuE 08oksXPlIyaQKjYBPYkF136wg9giAiESz1ZsYASxmQV0JK7f3AI2SVjAW2L+5z2sIDaLgKpE Q+MdMJtXwE1izeGvrBDbFCSWfVkLVs8p4C6xedUFMFsIqGblp+eMIIslBN6zSVxa38MGMUhA 4tvkQ0DncQAlZCU2HYC6WlLi4IobLBMYhRcwMqxiFE0tSC4oTkovMtUrTswtLs1L10vOz93E CAzX0/+eTdzBeP+A9SFGAQ5GJR7eBceDQoRYE8uKK3MPMZoCbZjILCWanA+MirySeENjMyML UxNTYyNzSzMlcV4d6Z/BQgLpiSWp2amp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Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Fri, 31 Oct 2014 12:26:14 -0700 Cc: Hyungwon Hwang X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes the ioctls which are removed from the linux kernel. Signed-off-by: Hyungwon Hwang Signed-off-by: Inki Dae --- exynos/exynos_drm.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h index c3c6579..256c02f 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. @@ -164,8 +132,6 @@ struct drm_exynos_g2d_exec { }; #define DRM_EXYNOS_GEM_CREATE 0x00 -#define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 -#define DRM_EXYNOS_GEM_MMAP 0x02 /* Reserved 0x04 ~ 0x05 for exynos specific gem ioctl */ #define DRM_EXYNOS_GEM_GET 0x04 #define DRM_EXYNOS_VIDI_CONNECTION 0x07 @@ -178,12 +144,6 @@ struct drm_exynos_g2d_exec { #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)