~canonical-hwe-team/hwe-next/+git/sof:src_xcc_fix

Last commit made on 2023-01-09
Get this branch:
git clone -b src_xcc_fix https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
src_xcc_fix
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

90c14e5... by Kai Vehmanen

dai-zephyr: handle NULL case when calling dai_config_get()

As per interface documentation of dai_config_get(), the function
may return NULL if the device is not configured for the requested
direction. Handle this case explicitly.

Currently no upstream Zephyr driver returns NULL, but e.g. dmic
driver returns invalid configuration when dai_config_get() is
called with DAI_DIR_TX as direction.

Link: https://github.com/thesofproject/sof/issues/6896
Signed-off-by: Kai Vehmanen <email address hidden>

e584701... by Krzysztof Frydryk <email address hidden>

ipc4: basefw: Handle kcps related IPCs

Handle register_kcps, resource_allocation_request for kcps,
power_state_info_get.

Signed-off-by: Krzysztof Frydryk <email address hidden>

6b64741... by Krzysztof Frydryk <email address hidden>

lib: Add mcps budget manager for cpu clock control

Initial implementation of MCPS budget manager.
FW can request/free MCPS usage on enabling certain FW elements. Caution
should be taken when processing on different cores, as kcps_budget_data
is uncache only. The manager will change clock source to match requested
MCPS consumption. Budget manager may interfere with manually setting
clock values!

Signed-off-by: Krzysztof Frydryk <email address hidden>

c55d011... by Guennadi Liakhovetski <email address hidden>

ipc: ipc4: protect memcpy_s() against human error

Add error checking to all calls to memcpy_s() in handler.c.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

12a5538... by Guennadi Liakhovetski <email address hidden>

memcpy_s: fix the name of the last parameter

The last parameter of memcpy_s() isn't the size of the source buffer,
it's the actual number of bytes that should be copied.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

46a5d62... by Bard Liao <email address hidden>

topology2: set sdw amp feedback pcm channel number

Assume an amplifier will provide 2 channels feedback.

Signed-off-by: Bard Liao <email address hidden>

f8bdef3... by Ranjani Sridharan <email address hidden>

module_adapter: produce/consume only from the active buffers

In the simple_copy case, source/sink modules that aren't active are
skipped when passing the buffers to the process callback. So,
produce/consume from only the active buffers that were passed to the
process callback as well.

Reported-by: Kai Vehmanen <email address hidden>
Signed-off-by: Ranjani Sridharan <email address hidden>

33fa026... by Ranjani Sridharan <email address hidden>

module_adapter: Add flags to skip source/sink buffer invalidate/writeback

Some modules like the mixin/mixout do the invalidate/writebacks for the
source/sink buffers themselves. So, add flags in struct
processing_module to skip doing the same again in the module adapter
code.

Signed-off-by: Ranjani Sridharan <email address hidden>

fba35b1... by Ranjani Sridharan <email address hidden>

mixin: Convert the component to use the module interface

Replace the comp_drv ops for the mixin component to use the
module_adapter interface. The trigger and get_attribute ops are replaced
with the module_adapter ops which do the exact same thing. The base_cfg
field from struct mixin_data is removed as it is replaced with the
base_cfg in struct module_config and all users have been updated.

Signed-off-by: Ranjani Sridharan <email address hidden>

8c2dc1d... by Ranjani Sridharan <email address hidden>

module_adapter: Expand the simple_copy flag for multi sink case

Add a helper function to set up the input/output buffers for the 1:1 and
N:1 source:sink buffer configuration. Also, expand the
module_adapter_copy() function to support the simple_copy flag with the
single source and multiple sink buffer configuration.

Signed-off-by: Ranjani Sridharan <email address hidden>