Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69b2b839 authored by Kunlei Zhang's avatar Kunlei Zhang
Browse files

uapi: add cma memory allocation feature flag



add cma memory allocation feature flag.

Change-Id: If197e8b837f8153fa97f4736216ba9d84a26c978
Signed-off-by: default avatarKunlei Zhang <kunleiz@codeaurora.org>
parent cbbff680
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -126,6 +126,7 @@ enum {
#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
#define MSM_SPKR_PROT_SPV3
#define MSM_SPKR_PROT_SPV3
#define MSM_SPKR_PROT_SPV4
#define MSM_SPKR_PROT_SPV4
#define MSM_CMA_MEM_ALLOC


enum {
enum {
	VERSION_0_0,
	VERSION_0_0,
@@ -156,7 +157,10 @@ struct audio_cal_data {
	__s32		cal_size;
	__s32		cal_size;
	/* If mem_handle if shared memory is used*/
	/* If mem_handle if shared memory is used*/
	__s32		mem_handle;
	__s32		mem_handle;
	/* size of virtual memory if shared memory not used */
#ifdef MSM_CMA_MEM_ALLOC
	/* cma allocation flag if cma heap memory is used */
	__u32		cma_mem;
#endif
};
};