dsp: add audio ion virtualization support

Add support for virtualized ION frontend driver for audio.
Virtualized ION driver currently is designed to extract
physical memory through hypervisor abstracted ion layer,
which can be shared between APPS and ADSP directly.

Change-Id: I3c664ec3c3a99ce092da6ee103a3b2de4073664f
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
This commit is contained in:
Timothy Sham
2019-02-16 02:33:47 -05:00
committed by Gerrit - the friendly Code Review server
parent 586382a701
commit 49cbca051c
3 changed files with 910 additions and 2 deletions

View File

@@ -48,6 +48,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
endif
ifeq ($(CONFIG_QTI_GVM), y)
include $(AUDIO_ROOT)/config/gvmauto.conf
export
INCS += -include $(AUDIO_ROOT)/config/gvmautoconf.h
endif
endif
@@ -97,6 +102,25 @@ ifdef CONFIG_SND_SOC_MSM_QDSP6V2_INTF
Q6_OBJS += q6_init.o
endif
ifdef CONFIG_SND_SOC_MSM_QDSP6V2_VM
Q6_OBJS += msm-audio-event-notify.o
Q6_OBJS += audio_calibration.o
Q6_OBJS += audio_cal_utils.o
Q6_OBJS += q6adm.o
Q6_OBJS += q6afe.o
Q6_OBJS += q6asm.o
Q6_OBJS += q6audio-v2.o
Q6_OBJS += q6voice.o
Q6_OBJS += q6core.o
Q6_OBJS += q6common.o
Q6_OBJS += rtac.o
Q6_OBJS += q6lsm.o
Q6_OBJS += adsp_err.o
Q6_OBJS += msm_audio_ion_vm.o
Q6_OBJS += avtimer.o
Q6_OBJS += q6_init.o
endif
ifdef CONFIG_XT_LOGGING
Q6_OBJS += sp_params.o
endif
@@ -192,6 +216,9 @@ endif
obj-$(CONFIG_SND_SOC_MSM_QDSP6V2_INTF) += q6_dlkm.o
q6_dlkm-y := $(Q6_OBJS)
obj-$(CONFIG_SND_SOC_MSM_QDSP6V2_VM) += q6_dlkm.o
q6_dlkm-y := $(Q6_OBJS)
obj-$(CONFIG_MSM_ULTRASOUND) += usf_dlkm.o
usf_dlkm-y := $(USF_OBJS)