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>
Adds support for multicore notifications:
- IDC that needs to be sent to slave cores.
- Flag which tells notifier, which cores should be notified.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Unfortunately tests for buffer/runtime zones will remain broken,
might require some rework in the firmware code.
For this reason, they shall be temporarily disabled.
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
This patch adds to equalizer capability to process 16 and 24 bit
pipelines in addition to 32 bit similarly as IIR. The generic C,
HiFiEP, and HiFi3 versions are updated with the capability.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
ipc_platform_do_cmd will send a standard reply when ipc_cmd() return 0.
So, we don't need to send a specific reply in ipc_dma_trace_config().
Signed-off-by: Bard liao <bard.liao@intel.com>
Refactors clock code to include clocks for all cores.
Also simplifies the whole clock driver implementation,
so the ifdefs for platforms are no longer needed.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This patch simplifies new() function code and avoids unnecessary
allocation of component device and data resources if the the coefficient
blob is rejected due to size. The change is identical for FIR and IIR
EQs.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
SOF_ABI_VERSION macro now performs bitshift and addition to compose
final version number out of SOF_ABI_MAJOR, SOF_ABI_MINOR and SOF_ABI_MICRO
components.
Also added SOF_ABI_VERSION_INCOMPATIBLE macro to allow for easier comparison
between FW ABI version and client applications.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
dai clocks ungated and resources allocated on the first use.
dma clocks ungated and resources allocated on the first use.
cores clocks gated in idle.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
Multiple alloctions of SG elements linked as a list
replaced with single allocations of arrays.
- The code flows (esp. cleanup-on-error) are simplified,
- number of 64bytes chunk allocations reduced from 18 to 12 for
example very basic topology, no increase in other areas
(2-period sgls still fit),
- more efficient allocation for host page tables on legacy platforms;
instead of going from a desc array to the list that is copied to
another list, there is just a single allocation of array moved
to the destination component.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>