diff mbox series

arm64: dts: qcom: sdm845: Add interconnects property for display

Message ID 20200915214511.786-1-georgi.djakov@linaro.org (mailing list archive)
State Accepted
Commit c8c61c09e38b894e68e1d9c6c3c1bfcae3cbf8cf
Headers show
Series arm64: dts: qcom: sdm845: Add interconnects property for display | expand

Commit Message

Georgi Djakov Sept. 15, 2020, 9:45 p.m. UTC
Add the interconnect paths that are used by the display (MDSS). This
will allow the driver to request the needed bandwidth and prevent
display flickering.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
This patch depends on:
https://lore.kernel.org/r/20200903133134.17201-6-georgi.djakov@linaro.org/

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Bjorn Andersson Sept. 15, 2020, 11:46 p.m. UTC | #1
On Tue 15 Sep 21:45 UTC 2020, Georgi Djakov wrote:

> Add the interconnect paths that are used by the display (MDSS). This
> will allow the driver to request the needed bandwidth and prevent
> display flickering.
> 
> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
> ---
> This patch depends on:
> https://lore.kernel.org/r/20200903133134.17201-6-georgi.djakov@linaro.org/
> 

Applied, together with this dependency and the additional patches you
pointed me to.

Thanks,
Bjorn

>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 86457d9bc229..f8f09ab3442f 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -3813,6 +3813,10 @@ mdss: mdss@ae00000 {
>  			interrupt-controller;
>  			#interrupt-cells = <1>;
>  
> +			interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
> +					<&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
> +			interconnect-names = "mdp0-mem", "mdp1-mem";
> +
>  			iommus = <&apps_smmu 0x880 0x8>,
>  			         <&apps_smmu 0xc80 0x8>;
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 86457d9bc229..f8f09ab3442f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -3813,6 +3813,10 @@  mdss: mdss@ae00000 {
 			interrupt-controller;
 			#interrupt-cells = <1>;
 
+			interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
+					<&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
+			interconnect-names = "mdp0-mem", "mdp1-mem";
+
 			iommus = <&apps_smmu 0x880 0x8>,
 			         <&apps_smmu 0xc80 0x8>;