From e937f6c42a783f2ee45817d13ade74156840916e Mon Sep 17 00:00:00 2001 From: Raviteja Tamatam Date: Mon, 7 Feb 2022 11:08:00 -0800 Subject: [PATCH] ARM: dts: msm: add display and demura heap region for kalama This change adds display and demura heap region for kalama target. Change-Id: I4d5dd0da1c0423ec0d9f383a001a16cd29b0dd41 --- qcom/kalama-dma-heaps.dtsi | 14 ++++++++++++++ qcom/kalama.dtsi | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/qcom/kalama-dma-heaps.dtsi b/qcom/kalama-dma-heaps.dtsi index ac68053c..3da13735 100644 --- a/qcom/kalama-dma-heaps.dtsi +++ b/qcom/kalama-dma-heaps.dtsi @@ -16,6 +16,20 @@ memory-region = <&qseecom_ta_mem>; }; + qcom,display { + qcom,dma-heap-name = "qcom,display"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&non_secure_display_memory>; + }; + + qcom,demura { + qcom,dma-heap-name = "qcom,demura"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&demura_heap_memory>; + }; + qcom,secure_cdsp { qcom,dma-heap-name = "qcom,secure-cdsp"; qcom,dma-heap-type = ; diff --git a/qcom/kalama.dtsi b/qcom/kalama.dtsi index 75008cdb..de9f609c 100644 --- a/qcom/kalama.dtsi +++ b/qcom/kalama.dtsi @@ -618,6 +618,22 @@ size = <0x0 0x1400000>; }; + 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>; + }; + + demura_heap_memory: demura_heap_region { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>; + size = <0x0 0x2800000>; + alignment = <0x0 0x400000>; + }; + qseecom_ta_mem: qseecom_ta_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;