From patchwork Tue Jan 29 07:44:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 2060151 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 1E7E8DF23E for ; Tue, 29 Jan 2013 07:45:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F3617E672A for ; Mon, 28 Jan 2013 23:45:34 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTP id 15D77E5DFA for ; Mon, 28 Jan 2013 23:44:48 -0800 (PST) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MHD00J6GMU8R3R0@mailout3.samsung.com> for dri-devel@lists.freedesktop.org; Tue, 29 Jan 2013 16:44:46 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.41]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 20.56.03880.EED77015; Tue, 29 Jan 2013 16:44:46 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-bc-51077dee8819 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id CF.46.03880.EED77015; Tue, 29 Jan 2013 16:44:46 +0900 (KST) Received: from daeinki-desktop.10.32.193.11 ([10.90.8.53]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MHD00AS9MULTH20@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Tue, 29 Jan 2013 16:44:46 +0900 (KST) From: Inki Dae To: airlied@linux.ie, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/exynos: fix iommu address allocation order Date: Tue, 29 Jan 2013 16:44:45 +0900 Message-id: <1359445485-5769-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.4.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPExsVy+t8zTd13teyBBouWClpc+fqezYHR4373 caYAxigum5TUnMyy1CJ9uwSujOufnzAWbGareH19AmsD4x7WLkZODgkBE4mfn/+xQ9hiEhfu rWfrYuTiEBJYxihxeO9pJpiirsWLoBLTGSU2d3YxQjjrmCSe7ZjDDFLFJqAqMXHFfTYQW0TA VKJj0lIWEJtZIE3i+/e9YCuEBewlOp6/BVvNAlQ/99NysDivgLNE37qzUNsUJBbcewu2TUJg C5vE7vlrmSAaBCS+TT4ENJQDKCErsekAM0S9pMTBFTdYJjAKLmBkWMUomlqQXFCclJ5rpFec mFtcmpeul5yfu4kRElbSOxhXNVgcYhTgYFTi4dWYxxYoxJpYVlyZe4hRgoNZSYQ3soQ9UIg3 JbGyKrUoP76oNCe1+BBjMtDyicxSosn5wJDPK4k3NDYwNjS0NDQztTQ1IE1YSZyX8dSTACGB 9MSS1OzU1ILUIpgtTBycUg2Mkw0e76ms/VX59sTaVfsLtmtlcwv935BR+W+N0YHjP84cKktr 9yup6yrUmj2zUvWrsvGEO5Xzc2cGRrJ4v9o8vyHlxY2rWdXZSQ9krHUn83TI8bltrKpgvC+6 u4D9bJYR054OpYnf/wWvV/rowch8c+Uvt/ylrMzH+lKbNqnqxphoZ0W+0Z6lxFKckWioxVxU nAgAp5bt8W8CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42I5/e+xoO67WvZAg7mXOS2ufH3P5sDocb/7 OFMAY1QDo01GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO 0FglhbLEnFKgUEBicbGSvh2mCaEhbroWMI0Rur4hQXA9RgZoIGEdY8b1z08YCzazVby+PoG1 gXEPaxcjJ4eEgIlE1+JFbBC2mMSFe+uBbC4OIYHpjBKbO7sYIZx1TBLPdsxhBqliE1CVmLji PliHiICpRMekpSwgNrNAmsT373vZQWxhAXuJjudvwTawANXP/bQcLM4r4CzRt+4sE8Q2BYkF 996yTWDkXsDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMjOGifSe9gXNVgcYhRgINRiYdX Yx5boBBrYllxZe4hRgkOZiUR3sgS9kAh3pTEyqrUovz4otKc1OJDjMlA2ycyS4km5wMjKq8k 3tDYxMzI0sjM2MTc2Jg0YSVxXsZTTwKEBNITS1KzU1MLUotgtjBxcEo1MJYcXXTld3Zyadwc 8Vaf/jLRA46dIgoLku9+1L8e4mGz1+bZjqk98tdV9c426fg+Nf/5b7WoSqVXd+TaUxySJfs0 umW4Z1d2TVM6Nanu/Hfd77wTJFguKKRtufFt5/4A6V0mmzfubJiRU7zhtWvyF6s27ug5M37M mai5+vhH+0tOzpbhGgqMpkosxRmJhlrMRcWJAK6mN0ueAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: kyungmin.park@samsung.com, sw0312.kim@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This patch modifies iommu address allocation order from 64k to 4k. 64k order causes waste of the io space and this was our mistakes. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_iommu.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_iommu.h b/drivers/gpu/drm/exynos/exynos_drm_iommu.h index 53b7dee..598e60f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_iommu.h +++ b/drivers/gpu/drm/exynos/exynos_drm_iommu.h @@ -14,7 +14,7 @@ #define EXYNOS_DEV_ADDR_START 0x20000000 #define EXYNOS_DEV_ADDR_SIZE 0x40000000 -#define EXYNOS_DEV_ADDR_ORDER 0x4 +#define EXYNOS_DEV_ADDR_ORDER 0x0 #ifdef CONFIG_DRM_EXYNOS_IOMMU