Wrong result may impact pause/release command handlers running unaligned
with work queue tick.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
Added assembly macros to control state of LDO for LP and HP SRAM.
Macros are used during power down procedure to properly handle LDO state.
LDO handling sequence in power down procedure is specific for cAVS 1.5.
Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
This patch adds definition of CONFIG_HOST for SOF host version build
and selects for SRC the better quality and full conversions set in
such case.
The problem with default for gcc was that the conversions set for
non-optimized xtensa gcc is very limited and the quality has been
lowered to save resources. Hence the testbench creates huge amount
of fails without this change. With this patch the SRC test tracks the
quality of coefficients for optimized HiFiEP/HiFi3 version code.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
In dtrace_add_event function I've added handling
dma trace buffer overflow. If there is not enough
memory, log will be dropped. Amount of dropped entries
is counted and it will be logged.
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
The internal work queue runs independently at a steady rate,
which caused the first DMA copy to be late in relation to DMA start.
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
host dma and link dma work in decouple mode for SOF + HDA codec.
Now allocate host dma and link dma channel in host and set them
in FW individually.
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Aligns stack space, so that xtensa smp implementation
matches xtensa up implementation. It also fixes
problem with stack dump on smp architecture.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Existing memory leaks in dw-dma in pause/resume scenarios fixed.
Potential leaks in probe/remove scenarios fixed too.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
We need to call ipc_init() after dmac_init(), otherwise will faild
at getting dmac for ipc page table tranferring and error happends
as below:
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 DMA 85943.645833 85943.648438 dma.c:59 No DMAs installed
Here correct and fix it.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
update frame fmt and period bytes based on source format during
prepare to be able to handle all three PCM formats.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Add new function to update dev frame format based on source/sink
format. Update volume_prepare() with the new function.
Please note that the new function changes the handling of default
case while setting the frame format. The frame format should be
set to config format only in the case of DAI source/sink type.
For all other cases, it should be set to the dev params frame fmt.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Fixes condition for slave core component command.
It should only be executed on slave core if pipeline
is active. Otherwise master core should handle it.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>