* [PATCH 0/2] arm64: dts: sdm845: Add sdm845 GPU interconnect
@ 2018-12-13 17:31 Jordan Crouse
[not found] ` <20181213173149.6975-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Jordan Crouse @ 2018-12-13 17:31 UTC (permalink / raw)
To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: nm-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA,
rnayak-sgV2jX0FEOL9JmXXK+q4OQ, linux-pm-u79uwXL29TY76Z2rM5mHXA,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
dianders-F7+t8E8rja9g9hUCZPvPmw, vireshk-DgEjT+Ai2ygdnm+yROfE0A,
georgi.djakov-QSEj5FYQhm4dnm+yROfE0A,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
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
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU
[not found] ` <20181213173149.6975-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
@ 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-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: nm-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA,
rnayak-sgV2jX0FEOL9JmXXK+q4OQ, linux-pm-u79uwXL29TY76Z2rM5mHXA,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
dianders-F7+t8E8rja9g9hUCZPvPmw, vireshk-DgEjT+Ai2ygdnm+yROfE0A,
georgi.djakov-QSEj5FYQhm4dnm+yROfE0A,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
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
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU
[not found] ` <20181213173149.6975-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
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
[not found] ` <20181213173149.6975-3-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
1 sibling, 1 reply; 4+ messages in thread
From: Jordan Crouse @ 2018-12-13 17:31 UTC (permalink / raw)
To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: nm-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA,
rnayak-sgV2jX0FEOL9JmXXK+q4OQ, linux-pm-u79uwXL29TY76Z2rM5mHXA,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
dianders-F7+t8E8rja9g9hUCZPvPmw, vireshk-DgEjT+Ai2ygdnm+yROfE0A,
georgi.djakov-QSEj5FYQhm4dnm+yROfE0A,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
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
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU
[not found] ` <20181213173149.6975-3-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
@ 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-sgV2jX0FEOL9JmXXK+q4OQ
Cc: Nishanth Menon, devicetree-u79uwXL29TY76Z2rM5mHXA, Rajendra Nayak,
linux-pm-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm, dri-devel,
vireshk-DgEjT+Ai2ygdnm+yROfE0A, 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
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-13 18:29 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
[not found] ` <20181213173149.6975-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
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
[not found] ` <20181213173149.6975-3-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
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).