linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: sdm845: Add sdm845 GPU interconnect
@ 2018-12-13 17:31 Jordan Crouse
  2018-12-13 17:31 ` [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Jordan Crouse
  2018-12-13 17:31 ` [PATCH 2/2] arm64: dts: sdm845: Add interconnect " Jordan Crouse
  0 siblings, 2 replies; 4+ messages in thread
From: Jordan Crouse @ 2018-12-13 17:31 UTC (permalink / raw)
  To: freedreno, dri-devel
  Cc: nm, devicetree, rnayak, linux-pm, linux-arm-msm, dianders,
	vireshk, georgi.djakov, linux-arm-kernel

Two quick patches to document and add an interconnect port definition
for the sdm845 GPU.

This is based on the base GPU DT changes:
https://patchwork.freedesktop.org/series/39308/

As well as the DT nodes from Georgi:
https://patchwork.kernel.org/patch/10719483/

Jordan Crouse (2):
  dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU
  arm64: dts: sdm845: Add interconnect for GPU

 Documentation/devicetree/bindings/display/msm/gpu.txt | 6 ++++++
 arch/arm64/boot/dts/qcom/sdm845.dtsi                  | 3 +++
 2 files changed, 9 insertions(+)

-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU
  2018-12-13 17:31 [PATCH 0/2] arm64: dts: sdm845: Add sdm845 GPU interconnect Jordan Crouse
@ 2018-12-13 17:31 ` Jordan Crouse
  2018-12-13 17:31 ` [PATCH 2/2] arm64: dts: sdm845: Add interconnect " Jordan Crouse
  1 sibling, 0 replies; 4+ messages in thread
From: Jordan Crouse @ 2018-12-13 17:31 UTC (permalink / raw)
  To: freedreno, dri-devel
  Cc: nm, devicetree, rnayak, linux-pm, linux-arm-msm, dianders,
	vireshk, georgi.djakov, linux-arm-kernel

Add documentation for the interconnect and interconnect-names bindings
for the GPU node as detailed by bindings/interconnect/interconnect.txt.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
---
 Documentation/devicetree/bindings/display/msm/gpu.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt
index 8d9415180c22..be6b5628e052 100644
--- a/Documentation/devicetree/bindings/display/msm/gpu.txt
+++ b/Documentation/devicetree/bindings/display/msm/gpu.txt
@@ -19,6 +19,9 @@ Required properties:
   * "mem_iface"
 - iommus: optional phandle to an adreno iommu instance
 - operating-points-v2: optional phandle to the OPP operating points
+- interconnect: optional phandle to a interconnect provider.  See
+  ../interconnect/interconnect.txt for details.
+- interconnect-names: Name string for the interconnects.
 - qcom,gmu: For a6xx and newer targets a phandle to the GMU device that will
   control the power for the GPU
 
@@ -68,6 +71,9 @@ Example a6xx (with GMU):
 
 		operating-points-v2 = <&gpu_opp_table>;
 
+		interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>;
+		interconnect-names = "gfx-mem";
+
 		qcom,gmu = <&gmu>;
 	};
 };
-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU
  2018-12-13 17:31 [PATCH 0/2] arm64: dts: sdm845: Add sdm845 GPU interconnect Jordan Crouse
  2018-12-13 17:31 ` [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Jordan Crouse
@ 2018-12-13 17:31 ` Jordan Crouse
  2018-12-13 18:29   ` Doug Anderson
  1 sibling, 1 reply; 4+ messages in thread
From: Jordan Crouse @ 2018-12-13 17:31 UTC (permalink / raw)
  To: freedreno, dri-devel
  Cc: nm, devicetree, rnayak, linux-pm, linux-arm-msm, dianders,
	vireshk, georgi.djakov, linux-arm-kernel

Define an interconnect port for the GPU to set bus
capabilities.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 0a5ddfc4c59b..9323f211ca40 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1370,6 +1370,9 @@
 
 			operating-points-v2 = <&gpu_opp_table>;
 
+			interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>;
+			interconnect-names = "gfx-mem";
+
 			qcom,gmu = <&gmu>;
 
 			gpu_opp_table: opp-table {
-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU
  2018-12-13 17:31 ` [PATCH 2/2] arm64: dts: sdm845: Add interconnect " Jordan Crouse
@ 2018-12-13 18:29   ` Doug Anderson
  0 siblings, 0 replies; 4+ messages in thread
From: Doug Anderson @ 2018-12-13 18:29 UTC (permalink / raw)
  To: jcrouse
  Cc: Nishanth Menon, devicetree, Rajendra Nayak, linux-pm,
	linux-arm-msm, dri-devel, vireshk, freedreno, Georgi Djakov,
	Linux ARM

Hi,

On Thu, Dec 13, 2018 at 9:32 AM Jordan Crouse <jcrouse@codeaurora.org> wrote:
>
> Define an interconnect port for the GPU to set bus
> capabilities.
>
> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
> ---
>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 0a5ddfc4c59b..9323f211ca40 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -1370,6 +1370,9 @@
>
>                         operating-points-v2 = <&gpu_opp_table>;
>
> +                       interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>;
> +                       interconnect-names = "gfx-mem";

Thanks for sending this patch.  Unfortunately the interconnect node is
not called "qnoc" anymore.  It's called "&rsc_hlos" in v12 of Georgi's
patchset:

https://lkml.kernel.org/r/20181208170216.32555-7-georgi.djakov@linaro.org

Can you repost with that fix (the bindings patch should be updated
too)?  Other than that feel feel free to add my Reviewed-by to this
patch.

Thanks!


-Doug

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-13 18:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-13 17:31 [PATCH 0/2] arm64: dts: sdm845: Add sdm845 GPU interconnect Jordan Crouse
2018-12-13 17:31 ` [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Jordan Crouse
2018-12-13 17:31 ` [PATCH 2/2] arm64: dts: sdm845: Add interconnect " Jordan Crouse
2018-12-13 18:29   ` Doug Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).