Tags: joechengxperi/sof
Tags
scrips: xtensa-build-zephyr: fix Zephyr commit for release Use a fixed Zephyr mainline commit to build binaries in the SOF2.0 release branch. This Zephyr commit was tested in 2021-12-03 daily test plans. Signed-off-by: Kai Vehmanen <[email protected]>
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 <[email protected]>
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 <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> (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 <[email protected]> (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 <[email protected]> (cherry picked from commit 9dfd2bd)
topology1: fix a typo of a tplg name in CMakefile sof-adl-rt1316-l2-mono-rt714-link0 should be sof-adl-rt1316-l2-mono-rt714-l0 Signed-off-by: Libin Yang <[email protected]>
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 <[email protected]>
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 <[email protected]>
PreviousNext