sof icon indicating copy to clipboard operation
sof copied to clipboard

topology2: add nocodec support for real case validation

Open RanderWang opened this issue 1 year ago • 5 comments

Sof-mtl-max98357a-rt5682 is used by chrome project. This patch uses nocodec backend for validation so that our CI test can check real production case.

RanderWang avatar Jan 17 '24 05:01 RanderWang

sof-mtl-max98357a-rt5682-nocodec

RanderWang avatar Jan 17 '24 05:01 RanderWang

Thank you @RanderWang ! This help us simulate Chrome use scenario in our testing. Maybe we can name it "sof-mtl-mock-chrome-nocodec"? But I feel current name is also good.

mengdonglin avatar Jan 17 '24 06:01 mengdonglin

Not following @RanderWang, why not use a 'nocodec' topology we already have? Why do we need multiple flavors of nocodec?

Also what does this bring in terms of validation?

You haven't quite described the problem statement and alternatives....

plbossart avatar Jan 17 '24 07:01 plbossart

@plbossart The background is that we want to evaluate the impact of multicore timeout issue https://github.com/thesofproject/sof/issues/8642 for Chrome by running a similar topology as Chrome on MTL RVP. That issue is reproduced on MTL RVP with nocodec topology (3 cores, dummy smart amp, 11 concurrent streams). This PR made a topology for 2 cores, no smart amp, AEC on core 2, and less streams.

mengdonglin avatar Jan 17 '24 08:01 mengdonglin

Thank you @RanderWang ! This help us simulate Chrome use scenario in our testing. Maybe we can name it "sof-mtl-mock-chrome-nocodec"? But I feel current name is also good.

Ack - this will differentiate and allow stress and developer debug/test.

lgirdwood avatar Jan 17 '24 11:01 lgirdwood