Tags: sathya-nujella/sof
Tags
pipeline: fix period frame size calculation The period frame size calculation has issues by doing division instead of multiplication. So fix this by introducing new function for buffer period frames calculation where we multiply samplerate and schedule_period and divide by 1000000. Also round up the result. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
topology: add tgl_rt1308 with no hdmi Enable tgl_rt1308 topology with RT1308 speaker and DMIC01. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
cmake: xtensa: use absolute paths for tools CMake has convention of changing relative paths to absolute for CMAKE_* variables. It does it automatically f.e. CMAKE_C_COMPILER. However for our tools like objcopy we have to do it manually. It also helps with integration of CMake in some IDEs. Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
dai: assign/free link DMA channel during dai_config() The recommended HDA HW programming sequence for setting the DMA format requires that the link DMA and host DMA channels be coupled before setting the format. This change means that host DMA or link DMA channels be reserved even if only one is used. Statically assigned link DMA channels would mean that all the corresponding host DMA channels will need to be reserved, leaving only a few channels available at run-time. So, the suggestion here is to switch to dynamically assigning both host DMA channels and link DMA channels are run-time. This change means that the DAI_CONFIG IPC will be sent multiple times during link hw_params and link hw_free ioctl. The DAI config parameters will remain the same except for the link DMA channel that will be assigned at run-time. A value of DMA_CHAN_INVALID from the driver during hw_free indicates a request to free the current link DMA channel in use. The current channel in use is freed before assiging the new channel requested in the DAI_CONFIG IPC. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
kconfig: cht, byt: Dont include KPB by default on CHT, BYT. CHT & BYT have limited amount of IRAM so are sensitive to selection of built in audio components. Disable KBP by default, but this could be enabled if other components were disabled. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
comp: Add initial keyword detector testing component. This is a testing component acting as a dummy keyword detector comp. Add the init/free and cmd op so as to be able to accept switch cmd from userspace. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
topology: update all HDA pipelines to use timer Updates all HDA pipelines in topologies to use timer as a scheduling source. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
dai: recovery dai buffer and dma pointer for none-init start For none-init first trigger start, need to recovery buffer state and set the dma pointer as pause/release did. This will allow ALSA STOP/START recovery pattern work now. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Merge pull request thesofproject#567 from slawblauciak/dma_release_fix dma: make sure the HDA DMA pointers are aligned after release
PreviousNext