~canonical-hwe-team/hwe-next/+git/sof:imx-stable-v1.9

Last commit made on 2021-12-08
Get this branch:
git clone -b imx-stable-v1.9 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
imx-stable-v1.9
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

156c0d5... by Zhang Peng <email address hidden>

topology: 8ulp: Change sample rate to 8K

As changed SAI to 8Khz, then modify tplg file to
match this.

Signed-off-by: Zhang Peng <email address hidden>

fdacd19... by Zhang Peng <email address hidden>

include: drivers: sai: Change the vaule of SAI_CLOCK_DIV

For BT module not support 16Khz sample rate anymore,
we need to change sai sample rate to 8Khz to match
BT.

Signed-off-by: Zhang Peng <email address hidden>

c345e08... by Daniel Baluta <email address hidden>

audio: drc: Select DRC dependencies

DRC needs some math functions brought in by CONFIG_NUMBERS_NORM and
CONFIG_MATH_DECIBELS.

Signed-off-by: Daniel Baluta <email address hidden>

580b4e7... by Paul Olaru <email address hidden>

tools: ctl: CMakeLists: Add -Wall and -Werror flags

These flags are required to prevent unwanted bugs in the ctl tool. They
have been used to detect an undefined behaviour instance which occurred
due to lack of a return value in a non-void function.

Signed-off-by: Paul Olaru <email address hidden>

18bcd36... by Paul Olaru <email address hidden>

tools: ctl: Fix various errors

Most of the errors are unused variables, plus an unused label. Those are
benign.

One of the errors was the following:

/work/repos/sof/tools/ctl/ctl.c: In function ‘ctl_set_get’:
/work/repos/sof/tools/ctl/ctl.c:497:1: error: control reaches end of
non-void function [-Werror=return-type]
  497 | }
      | ^

This error had caused an undefined-behaviour-driven bug internally (an
error being displayed with a return code of 0, when it shouldn't have
been possible to display that message if the return code was 0). At line
614 of the old code, the message "Error: could not Set control, ret:0"
was displayed.

The errors only show up when you add -Wall -Werror to the compile
options of ctl, which I will do in the next commit.

Signed-off-by: Paul Olaru <email address hidden>

5eb497d... by Daniel Baluta <email address hidden>

topology1: Fix codec adapter pipeline

Commit 771db86de29 ("topology1: codec_adapter: Add 'codec_adapter' pipeline configuration")
in an attempt to support PCM + compr mixer scenarios broke simple codec adapter
pipelines.

So, similar with PCM case (see sof/pipe-host-volume-playback.m4 vs
sof/pipe-volume-playback.m4) we introduce two separate configuration
files.

One for Passthrough codec-adapter pipeline and one standalone Host +
codec-adapter pipeline that can be independently scheduled in a scenario
with a mixer for example.

Signed-off-by: Daniel Baluta <email address hidden>

b49bd7c... by Daniel Baluta <email address hidden>

topology: Add simple host codec adapter playback pipeline

As opposed to pipe-codec-adapter-playback this has its own scheduling
task and can be used in more complex scenarios.

Signed-off-by: Daniel Baluta <email address hidden>

c321a5d... by Daniel Baluta <email address hidden>

topology1: imx8: Add mixing PCM and Compr stream topology

This topologies are for i.MX8QXP/i.MX8QM, i.MX8MP demonstrating
mixing for 1 PCM stream and 1 Compr stream.

Signed-off-by: Daniel Baluta <email address hidden>

2d44dff... by Daniel Baluta <email address hidden>

topology1: codec_adapter: Add 'codec_adapter' pipeline configuration

This adds 'codec_adapter' pipeline configuration allowing this
pipeline to be part of a more complex topology.

Important configuration here is the 'scheduler' widget. Without this,
'codec_adapter' would work in a more complex topology. This is because
each individual pipeline needs to have a 'scheduling' component.

Signed-off-by: Daniel Baluta <email address hidden>

423b2d5... by Marc Herbert <email address hidden>

installer: add adl and adl-s links

ADL and ADL-S binaries share FW build configuration with TGL and TGL-H.

See also issue #3491 and commit 15e03fd29729 ("config: intel: use PCH
name for tigerlake") and the corresponding review in PR #3451.

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