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 CMA instead of carveout for secure dsp usecase
Allocate memory from CMA instead of secure carveout for secure use case. Change-Id: Ifd8abd86d0757615a0c085be2483abe9b6113cf2
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
qcom,dma-heaps {
|
||||
compatible = "qcom,dma-heaps";
|
||||
qcom,secure_cdsp {
|
||||
qcom,dma-heap-name = "qcom,secure-cdsp";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
|
||||
memory-region = <&cdsp_secure_heap_mem>;
|
||||
qcom,token = <0x20000000>;
|
||||
qcom,dma-heap-name = "qcom,cma-secure-cdsp";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
memory-region = <&cdsp_secure_heap>;
|
||||
};
|
||||
|
||||
qcom,adsp {
|
||||
|
||||
@@ -351,6 +351,14 @@
|
||||
size = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
cdsp_secure_heap: secure_cdsp_region { /* Secure DSP */
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x4800000>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&soc {
|
||||
|
||||
Reference in New Issue
Block a user