From 06c9b07586d79462a84ed06c85cd572d662845ff Mon Sep 17 00:00:00 2001 From: Sai Srujana Oruganti Date: Tue, 18 Oct 2022 15:15:11 +0530 Subject: [PATCH] ARM: dts: msm: add display heap region for monaco This change adds display heap region for monaco target Change-Id: I4fbb304781c8cb8b7d086c14e1c137c88f49524a --- qcom/monaco-dma-heaps.dtsi | 7 +++++++ qcom/monaco.dtsi | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/qcom/monaco-dma-heaps.dtsi b/qcom/monaco-dma-heaps.dtsi index 8c12959c..9349d675 100644 --- a/qcom/monaco-dma-heaps.dtsi +++ b/qcom/monaco-dma-heaps.dtsi @@ -21,5 +21,12 @@ qcom,dma-heap-type = ; memory-region = <&user_contig_mem>; }; + + qcom,display { + qcom,dma-heap-name = "qcom,display"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&non_secure_display_memory>; + }; }; }; diff --git a/qcom/monaco.dtsi b/qcom/monaco.dtsi index 9e1c2765..31a9bd9b 100644 --- a/qcom/monaco.dtsi +++ b/qcom/monaco.dtsi @@ -273,6 +273,14 @@ status = "disabled"; }; + non_secure_display_memory: non_secure_display_region { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + size = <0x0 0xa400000>; + alignment = <0x0 0x400000>; + }; + splash_memory: splash_region@5c000000 { reg = <0x0 0x5c000000 0x0 0x00f00000>; label = "cont_splash_region";