mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-02 01:28:24 +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: Ib940f067aaa2ec949f6eb94941ea2cf7163ed289
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user