Uh oh!
There was an error while loading. Please reload this page.
Topology2: add ssp multi stream capture - #6329
Conversation
d01f156 to
28a6de3Compare
lgirdwood
left a comment
There was a problem hiding this comment.
@bardliao@RanderWang which platform were you able to test this on ?
RanderWang
commented
Sep 26, 2022
I tested it on ADL & MTL devices. |
plbossart
commented
Sep 26, 2022
@bardliao@RanderWang are those topologies used in CI? Or can you share what they look like with the png image? |
bardliao
commented
Sep 26, 2022
|
bardliao
commented
Sep 26, 2022
I tested it on TGL |
plbossart
commented
Sep 26, 2022
28a6de3 to
2cab263Comparebardliao
commented
Sep 27, 2022
@plbossart I updated my PR. New topology looks like |
plbossart
commented
Sep 27, 2022
@bardliao yes this is what I had in mind, I was wondering if we could actually use 3 copiers in this way, One remark that I have for topologies is that we may want to be clearer on indices used. It's not clear to me is if the copier.SSP2.1 refers to pipeline2 or SSP2. We should have something that help bind copiers to interfaces, otherwise it'll be a support nightmare. @bardliao@RanderWang@ranj063@singalsu@lgirdwood thoughts? |
bardliao
commented
Sep 27, 2022
@plbossart Currently, only DAI and host type copiers are supported by kernel. I am adding support for the copier "module" type. |
RanderWang
commented
Sep 28, 2022
@plbossart the name should be "component_name.pipeline_id.component_id" . so copier.SSP.2.1 means this copier.SSP1 is in pipeline 2 and copier.host.1.1 = copier.host1 in pipeline 1 |
plbossart
commented
Sep 28, 2022
ok, sounds good. |
plbossart
commented
Sep 28, 2022
My point exactly, we have NOTHING that tells us which SSP this copier deals with. The .1 suffix is meaningless for a user trying to understand what the topology does. |
2cab263 to
82f8cc2Compareranj063
commented
Oct 14, 2022
@bardliao why do we need copier.module.8.2 and gain.8.1 at all? |
Add ssp multi stream capture support. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
82f8cc2 to
42f53bdCompare| gain-capture.4 { | ||
| index 17 | ||
| format s32le | ||
| Object.Widget.pipeline.1 { |
There was a problem hiding this comment.
remove gain for capture. it is not supported by test fw. please check #6367
lgirdwood
left a comment
There was a problem hiding this comment.
@kv2019i@RanderWang@ranj063 pls review
RanderWang
commented
Oct 20, 2022
@bardliao do you finalize the design ? |
bardliao
commented
Oct 20, 2022
@lgirdwood@RanderWang That is a good question. I hope this is the final design. But the IPC4 tester will report bind error with this topology. Removing the gain module in the host pipelines can fix the error. But the IPC4 tester will crash when the second capture PCM is started after fixing the bind error issue. I am not sure if I need to modify the topology or we need to fix the IPC4 tester issue. |
lgirdwood
commented
Oct 24, 2022
ok, does the topology work on main branch and not on tester ? |
bardliao
commented
Oct 25, 2022
Yes |
lgirdwood
commented
Oct 25, 2022
ok, this is fine. It can be merged. |
plbossart
commented
Oct 25, 2022
I am not comfortable with differences in behavior between different implementations of the IPC4 protocol and sequences. We already have a number of issues related to trigger, now this is with bind. This probably highlights a conceptual miss somewhere. |
gkbldcig
commented
Oct 26, 2022
Can one of the admins verify this patch? |
ranj063
commented
Oct 26, 2022
@lgirdwood if we merge this with the tester failing, we would lose our reference point. I have a feeling we're missing something trivial in tplg. Let me take a look |
@bardliao this is the fix you need and this is how the tplg will look like: @plbossart@RanderWang what do you think? |
bardliao
commented
Oct 26, 2022
This fixed the binding error, but the IPC4 tester will still crash when the second capture PCM is started. |
lgirdwood
commented
Oct 26, 2022
@RanderWang pls let the tester folks know about this tester bug and CC @ranj063 . |
RanderWang
commented
Oct 27, 2022
@bardliao pls let the tester folks know about this tester bug and CC |
lgirdwood
commented
Oct 27, 2022
@bardliao@RanderWang@ranj063 any blocker now (except for the conflict) ? |
ranj063
commented
Oct 27, 2022
@lgirdwood we fixed one issue with the copier yesterday to make this tplg work. We'd have to run more test cases before we merge this. I'll let @bardliao start a test run and report back when things look decent |
ranj063
commented
Oct 27, 2022
and oh I forgot the kernel PR #3957 is a pre-requisite for this |
bardliao
commented
Oct 28, 2022
Yes, I sent email to them and CC you and Ranjani on Oct. 26th. |
bardliao
commented
Oct 28, 2022
@lgirdwood@ranj063 The conflict will be fixed if #6499 is merged. I tested with thesofproject/linux#3888 + thesofproject/linux#3957 and didn't find any issue. |
lgirdwood
commented
Nov 9, 2022
All dependencies now merged. Lets get it in daily test for a few days. |



This PR added multi stream capture support on SSP.