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 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:
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user