Tags: tmleman/sof
Tags
Math: Build library functions if enabled from Kconfig This patch adds src/math/Kconfig with items CORDIC_TRIGONOMETRY_FIXED, NUMBERS_GCD, NUMBERS_NORM, NUMBERS_VECTOR_FIND, MATH_DECIBELS, MATH_FFT, MATH_FIR, and MATH_IIR_DF2T. Configuration FIR and FFT were previously in src/audio/Kconfig but they were moved to new math location for simplicity. The build of trig.c was simplified by remove of unused UNIT_CORDIC_TEST and CONFIG_CORDIC_TRIGONOMETRY_FIXED. All but build details of numbers.c are handled by src/math/CMakeList.txt if(CONFIG_X) additions. There was need to add "-DCONFIG_NUMBERS_x" into target_compile_definitions() in test/cmocka/CMakeLists.txt because the platforms those drop most features e.g. BYT would fail in test case build. Tone generator build is disabled for all platforms. It avoids select of triginometric functions and saves RAM. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
drivers: Intel: hda-dma: only check DGCS_BUSY with delayed stop When an older kernel is used, we use the immediate stop. On some platforms, we see an -EBUSY error that prevents the trigger stop from working. This patch adds a check to be 'bug-compatible' with previous releases and older kernels. An additional fix would be to insert a poll timeout to make sure the BUSY bit is cleared. BugLink: thesofproject#4919 Fixes: 7e54f45 ('drivers: Intel: hda-dma: ensure DMA channel is idle after stop') Suggested-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 9e4b18d)
Revert "dma-trace: add check to avoid dereference from NULL" This reverts commit 89ec377. As commit 7df3674 ("trace: enable trace after it is ready") is reverted this is not required anymore. See long previous commit message. Signed-off-by: Marc Herbert <marc.herbert@intel.com> (cherry picked from commit a487ca9)
topology: intel: use 38.4Mhz MCLK for all Bluetooth use-cases Updated guidance for BT hardware is to use 38.4Mhz MCLK for both SCO and A2DP mode. This applies for all Intel platforms supporting Bluetooth offload. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> (cherry picked from commit 9dfd2bd)
buffer: alloc main buffer struct in the runtime shared zone Buffers can be shared between cores and it is crucial to have access to not only proper buffer data but also description data of this buffer Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
dw-dma: set LLI alignment to platform specific It is observed that on different platforms, the LLI need to be aligned different, e.g. it is 128 Bytes on TGL, otherwise, the LLI struct might be clobbered and the DMA channel might get unexpected stopped, which will eventually lead to Xrun. Here make the LLI alignment to platform specific and use 128 Bytes for TGL. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
PreviousNext