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
This commit is contained in:
Akshay Chandrashekhar Kalghatgi
2020-01-30 16:42:17 -08:00
parent 921514b98b
commit 2036e44c56
2 changed files with 14 additions and 0 deletions

View File

@@ -55,5 +55,11 @@
qcom,ion-heap-type = "DMA";
};
qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
reg = <ION_SECURE_DISPLAY_HEAP_ID>;
memory-region = <&secure_display_memory>;
qcom,ion-heap-type = "HYP_CMA";
};
};
};

View File

@@ -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";