mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
ARM: dts: msm: Add entry for non secure display heap memory
1. Add entry to reserve 100 MB contiguous memory from non secure display heap to allocate demura buffers and image buffer for TUI use case 2. Allocated buffers from this heap will be exported to secondary VM to use it for composition during TUI session Change-Id: I02df4631610099fbb7c01a716b4c2144db5c8722
This commit is contained in:
parent
10409ef5a7
commit
5a26118c59
2 changed files with 13 additions and 0 deletions
|
|
@ -67,5 +67,10 @@
|
|||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -517,6 +517,14 @@
|
|||
reg = <0x0 0xe3300000 0x0 0x0100000>;
|
||||
label = "dfps_data_region";
|
||||
};
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue