~canonical-hwe-team/hwe-next/+git/sof:mt8188/v0.2

Last commit made on 2024-04-19
Get this branch:
git clone -b mt8188/v0.2 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
mt8188/v0.2
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

a298aca... by "barry.jan" <email address hidden>

waves: verify payload size and initialize memory to zero to the
       allocated memory in waves.c

    Enhance payload corruption handling by verifying size
    and make sure to have clean buffer before using it.

Signed-off-by: barry.jan <email address hidden>
(cherry picked from commit 355e46f051dbd4493317662e13695685153c79b9)

b3aa5dc... by "barry.jan" <email address hidden>

topology: Add Waves codec to MT8188 topology

Modify sof-mt8188-mt6359 topology so Waves codec can be added
to playback in case 'WAVES' is defined.

Signed-off-by: barry.jan <email address hidden>
(cherry picked from commit 5cf1c9c0d67c09437bff0db6e3bda4c7a1b0fbb5)

a3fdea7... by "barry.jan" <email address hidden>

waves: store config blob in a cache in waves.c

Store/apply config blob in a cache to avoid that
cfg.data will be released after prepare.

Signed-off-by: barry.jan <email address hidden>
(cherry picked from commit 39173087d9818df446d3f20715b9a52d99b831df)

4b0cb07... by Trevor Wu <email address hidden>

platform: mtk: fix memory allocation problem

Because the size of struct comp_buffer has increased, the current heap
layout for the basic use case is not enough.

Some use cases are experiencing out of memory issues,
c0 memory src/lib/alloc.c:765 ERROR failed to alloc 0x180 bytes zone
0x4 caps 0x1 flags 0x0

To fix this issue, we increase the number of 512-byte heap blocks to 32.

Signed-off-by: Trevor Wu <email address hidden>

4624b3d... by Trevor Wu <email address hidden>

audio: module adapter: fix redefinition problem

When I was using xtensa to build mt8188 platform, I encountered an error:
'redefinition of i'. To fix the problem, I removed the declaration in
the for loop.

Signed-off-by: Trevor Wu <email address hidden>

c6ba442... by Kai Vehmanen

topology1: remove Intel GLK/TGL/ADL/RPL topology definitions

These topologies are no longer supported by mainline firmware code for
these platforms. The stable-v2.2 branch continues to support these
targets with topology1. Also SOF main branch provides topology2 targets
for a subset of these configurations.

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

8ca0759... by Seppo Ingalsuo <email address hidden>

Tools: Test: Topology: Avoid dependence to platform/intel/bxt.m4

A simplified copy of previous bxt.m4 is made as local
platform/generic.m4 with SSP and other platform definitions
for test topologies build. It is included to test-all,
test-capture, and test-playback macros definitions.

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

20705ad... by Marc Herbert <email address hidden>

rimage/toml_utils: fix signature and doxygen of parse_uuid()

Add missing `const` and warn that the endianness can't be relied on.

Signed-off-by: Marc Herbert <email address hidden>

c180e8c... by Marc Herbert <email address hidden>

rimage/toml_utils.c: remove uint32_t d0 shortcut in parse_uuid()

Fixes compilation failure with clang 15:

rimage/src/toml_utils.c:297:67: error: taking address of packed member
  'd0' of class or structure 'uuid_t' may result in an unaligned pointer
  value [-Werror,-Waddress-of-packed-member]
  sscanf(buf, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", &id.d0,
                                                                   ^~~~

This also aligns indexes.

Signed-off-by: Marc Herbert <email address hidden>

a01fcc2... by Marc Herbert <email address hidden>

rimage/toml_utils.c: stop ignoring errors in parse_uuid()

assert() that sscanf returns the expected value.

Signed-off-by: Marc Herbert <email address hidden>