mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
@@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user