sof icon indicating copy to clipboard operation
sof copied to clipboard

Tools: Testbench: Switch testbench to IPC4 mode

Open singalsu opened this issue 1 year ago • 3 comments

The library_defconfig is changed to CONFIG_IPC_MAJOR_4=y.

To prepare release of testbench with SOF the executable name is changed to sof-testbench4.

The script comp_run.sh for process_test.m and other test scripts is changed to execute the IPC4 testbench version with use of other topology v2 topologies sof-hda-benchmark-.tplg.

the script host-testbench.sh is changed to run tests for component names in IPC4 test topologies.

TODO: Fix valgrind issue in testbench, fix audio quality issue in config blob for multiband-DRC.

singalsu avatar Oct 17 '24 13:10 singalsu

@singalsu I assume ipc3 testbench will be called sof-testbench3 ?

I need to figure out cmake stuff to build it. This patch hard-codes the executable name to sof-testbench4. I'd like to make it dependent on library_defconfig choice. Or better, somehow with scripts/rebuild-testbench.sh build for both ipc versions. But I don't yet now how to achieve it with cmake.

singalsu avatar Oct 18 '24 15:10 singalsu

Seems the tplg2 build for CI testbench step is now resolved. But this PR depends on #9599 to pass the multiband-DRC test.

singalsu avatar Oct 21 '24 14:10 singalsu

All dependencies are now merged, changing this to proposal!

singalsu avatar Oct 25 '24 15:10 singalsu