mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
ion: Add support for the display non-secure CMA heap
Add support for the non-secure CMA heap for sharing display configuration information with display hardware. Change-Id: Idcc1a8233872cffe890ccd74c956bc666c34cd82 Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
c4028fcf86
commit
07b094aef8
3 changed files with 6 additions and 0 deletions
|
|
@ -83,6 +83,10 @@ static struct ion_heap_desc ion_heap_meta[] = {
|
|||
.id = ION_TUI_CARVEOUT_HEAP_ID,
|
||||
.name = ION_TUI_CARVEOUT_HEAP_NAME,
|
||||
},
|
||||
{
|
||||
.id = ION_DISPLAY_HEAP_ID,
|
||||
.name = ION_DISPLAY_HEAP_NAME,
|
||||
},
|
||||
};
|
||||
|
||||
#define MAKE_HEAP_TYPE_MAPPING(h) { .name = #h, \
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
#define ION_SECURE_DISPLAY_HEAP_NAME "secure_display"
|
||||
#define ION_AUDIO_HEAP_NAME "audio"
|
||||
#define ION_TUI_CARVEOUT_HEAP_NAME "tui_carveout"
|
||||
#define ION_DISPLAY_HEAP_NAME "display"
|
||||
|
||||
/**
|
||||
* Debug feature. Make ION allocations DMA
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#define ION_SYSTEM_HEAP_ID ION_BIT(0)
|
||||
#define ION_QSECOM_TA_HEAP_ID ION_BIT(1)
|
||||
#define ION_CAMERA_HEAP_ID ION_BIT(2)
|
||||
#define ION_DISPLAY_HEAP_ID ION_BIT(3)
|
||||
#define ION_ADSP_HEAP_ID ION_BIT(4)
|
||||
#define ION_USER_CONTIG_HEAP_ID ION_BIT(6)
|
||||
#define ION_QSECOM_HEAP_ID ION_BIT(7)
|
||||
|
|
|
|||
Loading…
Reference in a new issue