* [PATCH 0/2] arm64: dts: msm8996: Add display and graphics smmu
@ 2018-12-12 13:36 Vivek Gautam
2018-12-12 13:36 ` [PATCH 1/2] arm64: dts: msm8996: Add graphics smmu node Vivek Gautam
2018-12-12 13:36 ` [PATCH 2/2] arm64: dts: msm8996: Add display " Vivek Gautam
0 siblings, 2 replies; 3+ messages in thread
From: Vivek Gautam @ 2018-12-12 13:36 UTC (permalink / raw)
To: andy.gross, david.brown, robh+dt, mark.rutland, linux-arm-msm,
devicetree
Cc: linux-kernel, Vivek Gautam
The driver side patches are now pulled in [1]. So, we can now enable
these smmu's used by display and graphics.
This has been lying in my test trees [2] for a while, and work well with
display and gpu enabled on msm8996.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=for-joerg/arm-smmu/updates
[2] https://github.com/vivekgautam1/linux/tree/origin/v4.20-rc5/db820c
Archit Taneja (1):
arm64: dts: msm8996: Add display smmu node
Jordan Crouse (1):
arm64: dts: msm8996: Add graphics smmu node
arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] arm64: dts: msm8996: Add graphics smmu node
2018-12-12 13:36 [PATCH 0/2] arm64: dts: msm8996: Add display and graphics smmu Vivek Gautam
@ 2018-12-12 13:36 ` Vivek Gautam
2018-12-12 13:36 ` [PATCH 2/2] arm64: dts: msm8996: Add display " Vivek Gautam
1 sibling, 0 replies; 3+ messages in thread
From: Vivek Gautam @ 2018-12-12 13:36 UTC (permalink / raw)
To: andy.gross, david.brown, robh+dt, mark.rutland, linux-arm-msm,
devicetree
Cc: linux-kernel, Jordan Crouse, Vivek Gautam
From: Jordan Crouse <jcrouse@codeaurora.org>
Add device node for graphics smmu, aka. adreno_smmu.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 99b7495455a6..197e186eac10 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -1104,6 +1104,23 @@
};
};
+ adreno_smmu: arm,smmu@b40000 {
+ compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
+ reg = <0xb40000 0x10000>;
+
+ #global-interrupts = <1>;
+ interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>;
+ #iommu-cells = <1>;
+
+ clocks = <&mmcc GPU_AHB_CLK>,
+ <&gcc GCC_MMSS_BIMC_GFX_CLK>;
+ clock-names = "iface", "bus";
+
+ power-domains = <&mmcc GPU_GDSC>;
+ };
+
agnoc@0 {
power-domains = <&gcc AGGRE0_NOC_GDSC>;
compatible = "simple-pm-bus";
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: msm8996: Add display smmu node
2018-12-12 13:36 [PATCH 0/2] arm64: dts: msm8996: Add display and graphics smmu Vivek Gautam
2018-12-12 13:36 ` [PATCH 1/2] arm64: dts: msm8996: Add graphics smmu node Vivek Gautam
@ 2018-12-12 13:36 ` Vivek Gautam
1 sibling, 0 replies; 3+ messages in thread
From: Vivek Gautam @ 2018-12-12 13:36 UTC (permalink / raw)
To: andy.gross, david.brown, robh+dt, mark.rutland, linux-arm-msm,
devicetree
Cc: linux-kernel, Archit Taneja, Vivek Gautam
From: Archit Taneja <architt@codeaurora.org>
Add device node for display smmu, aka. mdp_smmu.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 197e186eac10..949e3b99fda4 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -1121,6 +1121,23 @@
power-domains = <&mmcc GPU_GDSC>;
};
+ mdp_smmu: arm,smmu@d00000 {
+ compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
+ reg = <0xd00000 0x10000>;
+
+ #global-interrupts = <1>;
+ interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>;
+ #iommu-cells = <1>;
+
+ clocks = <&mmcc SMMU_MDP_AHB_CLK>,
+ <&mmcc SMMU_MDP_AXI_CLK>;
+ clock-names = "iface", "bus";
+
+ power-domains = <&mmcc MDSS_GDSC>;
+ };
+
agnoc@0 {
power-domains = <&gcc AGGRE0_NOC_GDSC>;
compatible = "simple-pm-bus";
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-12 13:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 13:36 [PATCH 0/2] arm64: dts: msm8996: Add display and graphics smmu Vivek Gautam
2018-12-12 13:36 ` [PATCH 1/2] arm64: dts: msm8996: Add graphics smmu node Vivek Gautam
2018-12-12 13:36 ` [PATCH 2/2] arm64: dts: msm8996: Add display " Vivek Gautam
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).