~canonical-hwe-team/hwe-next/+git/sof:stable-v2.3

Last commit made on 2022-09-08
Get this branch:
git clone -b stable-v2.3 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
stable-v2.3
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

655b9ef... by Chao Song <email address hidden>

zephyr: deprecate zephyr.h and use kernel.h header

The zephyr header zephyr.h should be only used with
CONFIG_LEGACY_INCLUDE_PATH, which is deprecate by both
Zephyr and SOF.

The latest zephyr main will complain if zephyr.h is
used but CONFIG_LEGACY_INCLUDE_PATH disabled.

This patch deprecates zephyr.h and uses kernel.h instead,
so that we don't break with latest zephyr.

Signed-off-by: Chao Song <email address hidden>

312c80a... by Marc Herbert <email address hidden>

installer: remove byt..jsl platforms

Not supported in the main branch anymore, go to stable-v2.3

Signed-off-by: Marc Herbert <email address hidden>
(cherry picked from commit e09d85312158652239a4b99c48b63fcabc4d6960)

012eb9a... by Marc Herbert <email address hidden>

xtensa-build-all.sh: remove byt..jsl platforms from '-a'

These platforms are not supported in the main branch anymore.

Signed-off-by: Marc Herbert <email address hidden>
(cherry picked from commit 8fee9e13062d9e0586edd93505492966dd8f1f7c)

556c40c... by Marc Herbert <email address hidden>

xtensa-build-all.sh: add rmb to default platforms built with `-a`

The rmb toolchain was added in commit 4e85dfc95fbb ("docker: add
AMD/Rembrandt gcc toolchain") and before.

Signed-off-by: Marc Herbert <email address hidden>
(cherry picked from commit 8328cc50a9e56a48e2533c1e57fd9aade0a503d5)

9a2931f... by Vamshi Krishna Gopal <email address hidden>

ghd: Fix build error for ghd

Size parameter is moved from
struct sof_ipc_reply to struct sof_ipc_cmd_hdr.
Added changes accordingly.

Signed-off-by: Vamshi Krishna Gopal <email address hidden>

46395ec... by Ranjani Sridharan <email address hidden>

module_adapter: Modify reset API

Modify the definition of the reset API in the module adapter interface
to make sure that it should reset the module state back to
MODULE_INITIALIZED and free all memory that was allocated during the
prepare() callback. With this change, stopping and restarting streams
will always be guaranteed to invoke the module's prepare() callback.
Also, fix the passthrough and cadence codec implementation to follow the
new definition.

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

ce6273a... by Rander Wang <email address hidden>

ipc4: volume: set volume config when volume is initialized

Found one issue on Linux platform that the initialized volume setting
by alsamixer doesn't make effect when playback is started. The reason
is that the volume config set is skipped when volume module is just
initialized. Now volume will be set when it is initialized. At this
time cd->channels is not initialized so use channal count in module
config.

Signed-off-by: Rander Wang <email address hidden>

32d4725... by Seppo Ingalsuo <email address hidden>

Drivers: DMIC: Fix risk for overflow in unmute ramp calculation

This patch adds cast to int64_t for the multiplication and adds 32 bit
saturation to ensure overflow of the product is not possible.

This function is used to calculate ramp time in IPC4 NHLT blob mode
where the time is not passed from topology. Currently rates up to
48 kHz remain under product int32_t range, so normally there is no
issue. However 96 kHz rate would always result to incorrect
LOGRAMP_TIME_MIN_MS (10 ms).

Signed-off-by: Seppo Ingalsuo <email address hidden>

1c76f2f... by Gongjun Song

fix function name error

Correct the function name "volume_ctrl_set_cmd()" to
"volume_set_config()".

Signed-off-by: Gongjun Song <email address hidden>

2ecc11e... by Seppo Ingalsuo <email address hidden>

Audio: TDFB: Fix suspicious looking Q_MULTSR_32X32 macro usage

This patch adds to header file sof/audio/format.h two new macros
for 16 * 16 fractional multiply. It's identical to 32 bit but the
name suggests that operands are 16 bit where case to int32_t is
sufficient for the product.

- The calculation of cd->max_frames is changed use Q_MULTSR_16X16()
- Max_lag calculation is added type cast to int64_t though it does
  not overflow with 48 kHz. But it could overflow with 96 kHz rate.
- A comment about 64 bit type is added to calculation of thr
- src_x and src_y calculation is done with Q_MULTSR_16X16()
- az_slow calculation is done with Q_MULTSR_16X16
- deg calculation is done with Q_MULTSR_16X16

Signed-off-by: Seppo Ingalsuo <email address hidden>