ARM: dts: msm: Add entry for non secure display heap memory

Add entry to use non secure display heap memory for
TUI usecase for shima target. Allocated buffers
from this heap will be exported to the secondary
VM to use it for composition during TUI session.

Change-Id: I86387eb36a5babce9a3d53a2ca15ab4deff40117
This commit is contained in:
Krishna Manikandan 2020-09-22 12:28:52 +05:30
commit 436dcfe261
2 changed files with 13 additions and 0 deletions

View file

@ -53,5 +53,10 @@
memory-region = <&audio_cma_mem>;
qcom,ion-heap-type = "DMA";
};
qcom,ion-heap@3 { /* NON SECURE DISPLAY HEAP */
reg = <ION_DISPLAY_HEAP_ID>;
memory-region = <&non_secure_display_memory>;
qcom,ion-heap-type = "DMA";
};
};
};

View file

@ -469,6 +469,14 @@
reg = <0x0 0xe3300000 0x0 0x0100000>;
label = "dfps_data_memory";
};
non_secure_display_memory: non_secure_display_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x6400000>;
};
};
chosen {