From patchwork Fri Sep 1 01:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9933265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DA06C602F0 for ; Fri, 1 Sep 2017 01:48:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD70127CEA for ; Fri, 1 Sep 2017 01:48:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C256D27F10; Fri, 1 Sep 2017 01:48:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8465527CEA for ; Fri, 1 Sep 2017 01:48:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 988216E7B8; Fri, 1 Sep 2017 01:48:03 +0000 (UTC) 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 ESMTPS id D8FFE6E7B1 for ; Fri, 1 Sep 2017 01:48:00 +0000 (UTC) Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170901014758epoutp03c8139cd3d0942ce3ae62d5db4e29df76~gGaaESJFu2574925749epoutp03P; Fri, 1 Sep 2017 01:47:58 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.40.68]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170901014758epcas1p31d3580a828e81b794a22a4052d3c3e7c~gGaZus6hI0848608486epcas1p3P; Fri, 1 Sep 2017 01:47:58 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id B7.32.13866.E4CB8A95; Fri, 1 Sep 2017 10:47:58 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8~gGaZcDVEB1740017400epcas2p2T; Fri, 1 Sep 2017 01:47:57 +0000 (GMT) X-AuditID: b6c32a48-f79a16d00000362a-01-59a8bc4eba48 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id A3.76.10338.D4CB8A95; Fri, 1 Sep 2017 10:47:57 +0900 (KST) Received: from localhost.localdomain ([10.113.63.38]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OVK008NSVNVSY10@mmp1.samsung.com>; Fri, 01 Sep 2017 10:47:57 +0900 (KST) From: Hoegeun Kwon To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, airlied@linux.ie, kgene@kernel.org, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH 1/3] ARM: dts: exynos: Add the hardware rotation limits for gsc Date: Fri, 01 Sep 2017 10:47:54 +0900 Message-id: <1504230476-1878-2-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1504230476-1878-1-git-send-email-hoegeun.kwon@samsung.com> X-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snbTYRq3FcVW3 d7jSIj6RVfniBp79BxKeMFSBAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsVy+t9jAV3fPSsiDb51GFr0njvJZPF+WQ+j xfwj51gtrnx9z2bxfnkXm8Wk+xNYLF7cu8hi0f/4NbPF+fMb2C02Pb7GanF51xw2ixnn9zFZ LL1+kcmide8RdosZk1+yWbz8eILFQcBjzbw1jB6bVnWyeWz/9oDV4373cSaPzUvqPfq2rGL0 +LxJLoA9issmJTUnsyy1SN8ugSvjyJkPzAXv+CuuPFnN1MC4nKeLkZNDQsBEYk7nNlYQW0hg J6NE/02jLkYuIPs7o8SMbzvZQBJsAroSX3uuM4EkRARuMUqcmX6GDcRhFrjMKLGq5wcjSJWw gL9E66zVYDaLgKrExPOXwMbyCrhL9Cz9zwaxTk7i5LHJYHFOAQ+JfV0/2CBWu0sc2PCKaQIj zwJGhlWMkqkFxbnpucVGBUZ5qeV6xYm5xaV56XrJ+bmbGIFBu+2wVv8OxsdL4g8xCnAwKvHw ruBaESnEmlhWXJl7iFGCg1lJhNdzBVCINyWxsiq1KD++qDQntfgQozQHi5I4b2bfjEghgfTE ktTs1NSC1CKYLBMHp1QDY4bu5v/b91zb8EDy2ZVZpvn1q/XkrHcLrIi1ldi1XqLbX4w16Ndc hTsfOf/4dHdlFC/ed52pQb7+4OsiB88irVvP+Y0vrVqirMLO8DXgxrX/B1OszeacC/26sCjv msTFqMQ/9f5b984yuveOZ7q5xzetpvNPp5uobWH89NurLm7dmylHFD/dfaDEUpyRaKjFXFSc CADakkPkVgIAAA== X-CMS-MailID: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 X-Msg-Generator: CA X-Sender-IP: 182.195.42.143 X-Local-Sender: =?UTF-8?B?6raM7ZqM6re8G1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?SG9lZ2V1biBLd29uG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 X-RootMTR: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 References: <1504230476-1878-1-git-send-email-hoegeun.kwon@samsung.com> Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hoegeun Kwon , linux-arm-kernel@lists.infradead.org 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-Virus-Scanned: ClamAV using ClamSMTP The gscaler has maximum size of input or output rotation. Add the hardware limits property for the gscaler rotation in the exynos5250 and exynos5420 dts. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/exynos5250.dtsi | 8 ++++++++ arch/arm/boot/dts/exynos5420.dtsi | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 8dbeb87..d9434e0 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -643,6 +643,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc0>; }; @@ -653,6 +655,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc1>; }; @@ -663,6 +667,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL2>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc2>; }; @@ -673,6 +679,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL3>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc3>; }; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 02d2f89..0fd6be9 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -664,6 +664,8 @@ clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl0>; }; @@ -674,6 +676,8 @@ clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl1>; };