Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's still too much, we can only support 4 separate PCM transfers on a single link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart I tested it on the TGL production. And 4 separate PCM transfers : two channels playback & two channels capture ? As you know, the channel number for capture is double size of playback for IV feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart yes, it is impossible for 32bit * 6. 32bit PCM stream is used in DSM feature, but DAI config is set to 24bit (another story), so my PR works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has nothing to do with bandwidth, word length or channel count. At the ALH level, we can only do 4 DMA transfers to/from PDI_BD PCM targets.
We can only use e.g. 9..12 for PCM transfers. I am not sure how you managed to transfer 6 independent streams since it's not aligned with the documentation. Can you describe which ALH stream numbers you used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart Iet's make it clear. There are only two PCMs in DSM feature: one is for playback (2ch) and another one is for capture (4ch).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was talking about ALH/DMA transfers of PCM data, your reply does not answer to my question.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plbossart I don't need to transfer 6 independent streams, right ? There are only two streams, so 32, /* 23 - BIDIRECTIONAL / is used for playback and 33, / 24 - BIDIRECTIONAL */ is used for capture.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dumped the stream id in driver, 32 /* 23 - BIDIRECTIONAL / is used for playback and 33 /* 24 - BIDIRECTIONAL / is used for capture ( link1).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it now from the comments, best to say "FEEDBACK" instead of "FB" in the naming.