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: Ib940f067aaa2ec949f6eb94941ea2cf7163ed289
This commit is contained in:
nishant chaubey
2022-06-09 10:24:51 +05:30
parent 223d9079c5
commit 593556a041
2 changed files with 11 additions and 4 deletions

View File

@@ -31,10 +31,9 @@
};
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,user_contig {

View File

@@ -627,6 +627,14 @@
size = <0x0 0x1400000>;
};
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>;
};
non_secure_display_memory: non_secure_display_region {
compatible = "shared-dma-pool";
reusable;