From c2ffd6c86103b7030f616481835171f1b1db42ef Mon Sep 17 00:00:00 2001 From: Vinoth Jayaram Date: Tue, 13 Sep 2022 17:14:24 +0530 Subject: [PATCH] ARM: dts: msm: add display heap region for Khaje This change adds display heap region for Khaje target Change-Id: I4e93c235e4ccde11990a0ca05d3d949d37774059 --- qcom/khaje-dma-heaps.dtsi | 6 ++++++ qcom/khaje.dtsi | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/qcom/khaje-dma-heaps.dtsi b/qcom/khaje-dma-heaps.dtsi index 7b071d2d..73efb469 100644 --- a/qcom/khaje-dma-heaps.dtsi +++ b/qcom/khaje-dma-heaps.dtsi @@ -34,5 +34,11 @@ 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/khaje.dtsi b/qcom/khaje.dtsi index fa07e7aa..af8e76ef 100644 --- a/qcom/khaje.dtsi +++ b/qcom/khaje.dtsi @@ -506,6 +506,14 @@ size = <0x0 0x1000000>; }; + 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>; + }; + qseecom_mem: qseecom_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;