From 0f8cb745a9718b482cdf8b88380b5c91a789f8bd Mon Sep 17 00:00:00 2001 From: Mahadevan Date: Thu, 10 Nov 2022 16:24:40 +0530 Subject: [PATCH] ARM: dts: msm: add display heap for ravelin target This change adds display heap memory region for ravelin target. Change-Id: Icca18abfaac4691a6766860014b4912a54d297ac --- qcom/ravelin-dma-heaps.dtsi | 7 +++++++ qcom/ravelin.dtsi | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/qcom/ravelin-dma-heaps.dtsi b/qcom/ravelin-dma-heaps.dtsi index e08250c1..f49b677b 100644 --- a/qcom/ravelin-dma-heaps.dtsi +++ b/qcom/ravelin-dma-heaps.dtsi @@ -26,6 +26,13 @@ qcom,dma-heap-type = ; memory-region = <&audio_cma_mem>; }; + + non_secure_display_dma_buf: 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/ravelin.dtsi b/qcom/ravelin.dtsi index 1285b084..aa9957b1 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -385,6 +385,14 @@ alignment = <0x0 0x400000>; size = <0x0 0x1C00000>; }; + + non_secure_display_memory: non_secure_display_region { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + size = <0x0 0x5c00000>; + alignment = <0x0 0x400000>; + }; }; &firmware {