mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
ARM: dts: msm: Add secure display heap configuration for Shima
Add secure display heap configuration to enable secure memory allocations for secure display/camera usecases. Change-Id: Ida23c7b5eff4ab6c0e2f905148ac8147ce600d3b
This commit is contained in:
parent
6f50ad5bb3
commit
88b59f6ab5
2 changed files with 13 additions and 0 deletions
|
|
@ -16,5 +16,10 @@
|
|||
qcom,ion-heap-type = "SYSTEM_SECURE";
|
||||
};
|
||||
|
||||
qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
|
||||
reg = <10>;
|
||||
memory-region = <&secure_display_memory>;
|
||||
qcom,ion-heap-type = "HYP_CMA";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -302,6 +302,14 @@
|
|||
reg = <0x0 0xd0000000 0x0 0xa600000>;
|
||||
};
|
||||
|
||||
secure_display_memory: secure_display_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0 0x00000000 0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0 0x400000>;
|
||||
size = <0 0xA000000>;
|
||||
};
|
||||
|
||||
/* global autoconfigured region for contiguous allocations */
|
||||
linux,cma {
|
||||
compatible = "shared-dma-pool";
|
||||
|
|
|
|||
Loading…
Reference in a new issue