mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hoegeun Kwon <hoegeun.kwon@samsung.com>
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
Cc: dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org,
	Hoegeun Kwon <hoegeun.kwon@samsung.com>
Subject: [PATCH 1/3] ARM: dts: exynos: Add the hardware rotation limits for gsc
Date: Fri, 01 Sep 2017 10:47:54 +0900	[thread overview]
Message-ID: <1504230476-1878-2-git-send-email-hoegeun.kwon@samsung.com> (raw)
In-Reply-To: <1504230476-1878-1-git-send-email-hoegeun.kwon@samsung.com>

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 <hoegeun.kwon@samsung.com>
---
 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>;
 		};
 
-- 
1.9.1

  parent reply	other threads:[~2017-09-01  1:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170901014757epcas1p19de712f2cea2e48b3d42b878743dd9f8@epcas1p1.samsung.com>
2017-09-01  1:47 ` [PATCH 0/3] drm/exynos/gsc: Support the rotate hardware limits of gsc Hoegeun Kwon
     [not found]   ` <CGME20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8@epcas2p2.samsung.com>
2017-09-01  1:47     ` Hoegeun Kwon [this message]
     [not found]   ` <CGME20170901014758epcas2p201036a38e7d079e10732d1c43c6248d7@epcas2p2.samsung.com>
2017-09-01  1:47     ` [PATCH 2/3] arm64: dts: exynos: Add the hardware rotation limits for gsc Hoegeun Kwon
     [not found]   ` <CGME20170901014758epcas2p13ae73e7dcac72a1a28c9324164efbd6d@epcas2p1.samsung.com>
2017-09-01  1:47     ` [PATCH 3/3] drm/exynos/gsc: Add rotation hardware limits of gscaler Hoegeun Kwon
2017-09-01  7:11       ` Krzysztof Kozlowski
2017-09-01  7:31       ` Marek Szyprowski
2017-09-04  6:19         ` Hoegeun Kwon
2017-09-07  5:16           ` Hoegeun Kwon
2017-09-07 11:25             ` Marek Szyprowski
2017-09-08  2:21               ` Hoegeun Kwon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1504230476-1878-2-git-send-email-hoegeun.kwon@samsung.com \
    --to=hoegeun.kwon@samsung.com \
    --cc=airlied@linux.ie \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=jy0922.shim@samsung.com \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sw0312.kim@samsung.com \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®