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

Last commit made on 2022-07-15
Get this branch:
git clone -b mtk_dojo_art https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

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

Recent commits

c4c4b9c... by Pin-chih Lin <email address hidden>

topology1: rtnr: set bytes control to read-only

Due to security requirement, the config bytes control is set to read-only
for RTNR with hard-coded the config blob in the topology.

It's WA until the security approval is obtained.

Signed-off-by: Pin-chih Lin <email address hidden>
(cherry picked from commit 5df56355d150fc47c308e7f6cd407fe3d95e51f4)

7716ffb... by Pin-chih Lin <email address hidden>

rtnr: add rtnr-only override config

Enables component RTNR for mt8195 binary

Signed-off-by: Pin-chih Lin <email address hidden>
(cherry picked from commit 6c1dd397f576f17fdaa68222f5da1531432d023e)

2404166... by Curtis Malainey <email address hidden>

m4: add RO bytecontrol

Sometimes we want to load a binary block of data without letting
userspace interact with the underlying control. An RO control will do
this exactly by loading the data and providing no write access.

Signed-off-by: Curtis Malainey <email address hidden>
(cherry picked from commit 9cf8e0c777e6b4f4073bff5591bde51640eeb148)

e58baaf... by Ming Jen Tai <email address hidden>

rtnr: passthrough audio by stream copy

This commit passthrough multi channels audio from microphone using
stream copy outside RTNR, instead of using the bypass function provided
by RTNR.

Signed-off-by: Ming Jen Tai <email address hidden>
(cherry picked from commit 605c6662712655adc2ca417b639c1a1523468920)

9b081f0... by Ming Jen Tai <email address hidden>

[RTNR] Add audio stream layer between sof and RTNR

The audio_stream structure might be different between branches. To maintain the compatibility between branches, a layer between sof and RTNR is added.

Signed-off-by: Ming Jen Tai <email address hidden>
(cherry picked from commit 4aa202dd78e629d6d490207c1bab12f212b7ae7b)

5ee2ae3... by Ming Jen Tai <email address hidden>

[RTNR] Fix buffer size calculation

The correct frame length should be calculated by
FRAME_LEN = SAMPLING_RATE * PERIODS / 1000000

The macro COMP_PERIOD_FRAMES does the thing.

Signed-off-by: Curtis Malainey <email address hidden>
Signed-off-by: Ming Jen Tai <email address hidden>
(cherry picked from commit a5fd52ec43f3efe3bea3f3f3a6ee53b71022ad95)

426e6f9... by Li-Yu Yu <email address hidden>

mux: Use a fixed size for mux_stream_data

sizeof(struct mux_stream_data) was PLATFORM_MAX_CHANNELS-dependent.
In particular, if PLATFORM_MAX_CHANNELS < 8 the struct becomes
smaller. However in m4/muxdemux.m4, there is no easy way to supply
ROUTE_MATRIX with a smaller matrix other than 8x8 bits.

This commit pads struct mux_stream_data so it always has the a
platform-independent size: as if PLATFORM_MAX_CHANNELS were 8.

Signed-off-by: Li-Yu Yu <email address hidden>

Cherry-picked from: 2fd648efac7dbfb59d3e1300ae5de628812e2190

2407ade... by Ming Jen Tai <email address hidden>

RTNR: Decouple switch-enable control from params blob

This PR is based on https://github.com/thesofproject/sof/pull/5616

It decouples the switch-typed control for enabling/disabling from the
control bytes.

Previously, control blobs should be sent from userspace to to toggle
RTNR on/off.
With this PR, RTNR can be toggled by setting the UCM switch value.

cset "name='RTNR10.0 rtnr_enable_10' off"
cset "name='RTNR10.0 rtnr_enable_10' on"

or from command line

amixer -c0 cset name='RTNR10.0 rtnr_enable_10' 1
amixer -c0 cget name='RTNR10.0 rtnr_enable_10' 0

Signed-off-by: Pin-chih Lin <email address hidden>
Signed-off-by: Ming Jen Tai <email address hidden>

merge copy_func

Cherry-picked from: 2e6bfbec1ccc069129b3f91212fc8e6af04284bb

0237023... by Ming Jen Tai <email address hidden>

topology1: mt8195: support Google rtc audio process with RTNR

This commit adds Google RTC Audio Processing with RTNR to MT8195
topology.

Signed-off-by: Ming Jen Tai <email address hidden>

Cherry-picked from: c8b375638c759b19969f8777bece3c1b159d6097

918ed41... by Ming Jen Tai <email address hidden>

Add MT8195 override config

This commit adds Google RTC processing and RTNR to MT8195 override
config.

Please note that Google RTC Audio mocking processing is used in this
commit.

Signed-off-by: Ming Jen Tai <email address hidden>

Cherry-picked from: 0d5180d804fdc42be0cc1aa4507d932d64c4ed46