Uh oh!
There was an error while loading. Please reload this page.
mux: implement ipc4 support - #6385
Conversation
4ed7f08 to
929075fCompare
lgirdwood
left a comment
There was a problem hiding this comment.
Lots of complex looking code in here, can you provide more inline comments on each block to help reviewers. Thanks.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
020c9d1 to
a472329Comparea472329 to
6f542b2Compare@fkwasowi is it so that copier or mixinmixout can't do the operations the mux/demux is doing? Anyway good to have this, but we need to get the "full story" how these parameters are coming from the user space via topology and kernel to firmware. As I understand current mux/demux is a "process component" with binary blob interface -> so it should be ipc agnostic? so why do we need a new interface for it? |
6f542b2 to
52b971eCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a523547 to
1daad89Compare
kv2019i
left a comment
There was a problem hiding this comment.
Thanks, the comment in build_config() is very good. Only one very minor nit left, please see inline, otherwise seems good to go.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1b89ee6 to
58dc1aeComparefkwasowi
commented
Oct 18, 2022
58dc1ae to
6c0b8b3CompareUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Fails to compile TGL in https://sof-ci.01.org/sof-pr-viewer/#/build/PR6385/build10613048
/localdisk/tools/xtensa/RG-2017.8-linux/XtensaTools/bin/xt-xcc -DBLD_COUNTERS=0 -DRELATIVE_FILE=\"src/audio/copier/copier.c\" -I/quickbuild/workspace1/24733/SOF_FW/src/platform/intel/cavs/include -I/quickbuild/workspace1/24733/SOF_FW/src/arch/xtensa/include -I/quickbuild/workspace1/24733/SOF_FW/src/arch/xtensa/xtos -I/quickbuild/workspace1/24733/SOF_FW/xtos/include -I/quickbuild/workspace1/24733/SOF_FW/src/platform/tigerlake/include -I/localdisk/tools/xtensa/RG-2017.8-linux/cavs2x_LX6HiFi3_2017_8/xtensa-elf/arch/include -I/localdisk/tools/xtensa/RG-2017.8-linux/cavs2x_LX6HiFi3_2017_8/xtensa-elf/include -I/quickbuild/workspace1/24733/SOF_FW/rimage/src/include -I/quickbuild/workspace1/24733/SOF_FW/src/include -I/quickbuild/workspace1/24733/SOF_FW/build_fw/generated/include -I/quickbuild/workspace1/24733/SOF_FW/third_party_include -nostdlib -fno-inline-functions -mlongcalls -O2 -g -Wall -Werror -Wl,-EL -Wmissing-prototypes -Wpointer-arith -mtext-section-literals -imacros/quickbuild/workspace1/24733/SOF_FW/build_fw/generated/include/autoconfig.h -MD -MT CMakeFiles/sof.dir/src/audio/copier/copier.c.o -MF CMakeFiles/sof.dir/src/audio/copier/copier.c.o.d -o CMakeFiles/sof.dir/src/audio/copier/copier.c.o -c /quickbuild/workspace1/24733/SOF_FW/src/audio/copier/copier.c
/quickbuild/workspace1/24733/SOF_FW/src/audio/copier/copier.c: In function ‘copier_new’:
/quickbuild/workspace1/24733/SOF_FW/src/audio/copier/copier.c:463: error: ‘for’ loop initial declaration used outside C99 mode
/quickbuild/workspace1/24733/SOF_FW/src/audio/copier/copier.c: In function ‘copier_prepare’:
/quickbuild/workspace1/24733/SOF_FW/src/audio/copier/copier.c:622: error: ‘for’ loop initial declaration used outside C99 mode
CMakeFiles/sof.dir/build.make:1037: recipe for target 'CMakeFiles/sof.dir/src/audio/copier/copier.c.o' failed
make[3]: *** [CMakeFiles/sof.dir/src/audio/copier/copier.c.o] Error 2
TGL compiles just fine in https://sof-ci.01.org/sofpr/PR6385/build1949/build/tgl_zph.txt with xcc/install/builds/RG-2017.8-linux/cavs2x_LX6HiFi3_2017_8 and (hopefully) in your workspace too? What toolchain did you use?
So this looks a CI misconfiguration problem. CI should never compile anything with "secret flags" or secret options / configurations that developers cannot reproduce easily, all the entire build configurations MUST be available in version control. No CI "secret sauce" ever.
Whatever the root cause is, we can't merge code that does not compile for whatever reason.
a51e0b7 to
00bdacbCompare
Fixed |
00bdacb to
2d8918cCompare2d8918c to
b3abf8dCompareb3abf8d to
3c3ad13Compare
What was fixed, is the CI secret sauce gone? It looks like you just changed the code to avoid the issue. |
marc-hb
commented
Oct 20, 2022
Apologies, this was not a Zephyr build. Thanks @mwasko for the tip. |
upgrade rimage to 3ee717e3ee717e probe: mtl.toml invaliv probe type 1f4a36e mux: fix module type dcfd11b mux: add mux cfg to list of modules d957e03 rimage: make ace15 signing to support openssl3 a1b6e6d manifest: add fw_ver_micro to manifest fb28357 config: mtl: add probe module Signed-off-by: Kwasowiec, Fabiola <fabiola.kwasowiec@intel.com>
mux module does not support ipc4 Signed-off-by: "Kwasowiec, Fabiola" <fabiola.kwasowiec@intel.com>
conversion function and out_fmt is set only for first pin Signed-off-by: "Kwasowiec, Fabiola" <fabiola.kwasowiec@intel.com>
3c3ad13 to
f7c0b29Compareaborisovich
commented
Oct 20, 2022
SOF CI |
fkwasowi
commented
Oct 20, 2022
marc-hb
commented
Oct 20, 2022
I merged @kv2019i 's hard work in thesofproject/sof-test#971 so https://sof-ci.01.org/sofpr/PR6385/build2000/devicetest is all green. No need to ask for any exception now |
mux module does not support ipc4
A change is needed to work properly: thesofproject/rimage#112