ARM: dts: msm: add display and demura heap for diwali

This changes adds display and demura heap region for
diwali target.

Change-Id: Ib986c6db54fca84ab3d3b9d33577424352c682d7
This commit is contained in:
Mahadevan
2021-12-07 14:23:03 +05:30
parent 67c348e155
commit 9ecc282c1a
2 changed files with 30 additions and 0 deletions

View File

@@ -35,6 +35,20 @@
memory-region = <&qseecom_ta_mem>;
};
qcom,display {
qcom,dma-heap-name = "qcom,display";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
qcom,max-align = <9>;
memory-region = <&non_secure_display_memory>;
};
qcom,demura {
qcom,dma-heap-name = "qcom,demura";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
qcom,max-align = <9>;
memory-region = <&demura_heap_memory>;
};
qcom,audio_ml {
qcom,dma-heap-name = "qcom,audio-ml";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;

View File

@@ -384,6 +384,22 @@
mem-type = <2>;
};
non_secure_display_memory: non_secure_display_region {
compatible = "shared-dma-pool";
reusable;
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
size = <0x0 0xa400000>;
alignment = <0x0 0x400000>;
};
demura_heap_memory: demura_heap_region {
compatible = "shared-dma-pool";
reusable;
alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>;
size = <0x0 0x2800000>;
alignment = <0x0 0x400000>;
};
va_md_mem: va_md_mem_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>;