From 2036e44c560a281e1b0c3d563a86cabbea67bdda Mon Sep 17 00:00:00 2001 From: Akshay Chandrashekhar Kalghatgi Date: Thu, 30 Jan 2020 16:42:17 -0800 Subject: [PATCH] ARM: dts: msm: Add secure display heap Add a secure display heap of size 164 MB for carveout memory required to support 3 concurrent secure Video sessions. Change-Id: I5d88df171370e7f3cc9ad723db1d2736e1bf614f --- qcom/lahaina-ion.dtsi | 6 ++++++ qcom/lahaina.dtsi | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/qcom/lahaina-ion.dtsi b/qcom/lahaina-ion.dtsi index 906edf35..a530be30 100644 --- a/qcom/lahaina-ion.dtsi +++ b/qcom/lahaina-ion.dtsi @@ -55,5 +55,11 @@ qcom,ion-heap-type = "DMA"; }; + qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */ + reg = ; + memory-region = <&secure_display_memory>; + qcom,ion-heap-type = "HYP_CMA"; + }; + }; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index a1b68935..6729c014 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -433,6 +433,14 @@ size = <0x0 0x1000000>; }; + secure_display_memory: secure_display_region { /* Secure UI */ + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0xA400000>; + }; + /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool";