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:
Ramkumar Radhakrishnan 2020-07-14 15:56:41 -07:00
commit 5a26118c59
2 changed files with 13 additions and 0 deletions

View file

@ -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";
};
};
};

View file

@ -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 {