Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topology2: sdw-dmic-generic: add eqiir to control DC offset #9331

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

plbossart
Copy link
Member

For some reason we had the EQIIR for topology1/IPC3 but we didn't add it for topology2/IPC4. All recordings show there's a strong DC offset with RT722 and other codecs, so let's add this component by default in the non-passthrough cases.

FIXME: the instance numbers for eqiir don't look quite right, for some reason we cannot use eqiir.41.0, as if the instance number was global and not in the scope of a pipeline?

@plbossart
Copy link
Member Author

@ranj063 I can't figure out how instance numbers are handled/generated, if I used the array notation it seems the instance is a global value across all pipelines? That's not how IPC4 defines the instance number, is it?

The widget should only be defined in the scope of a pipeline,
otherwise the instance management is global instead of local to the
pipeline.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
For some reason we had the EQIIR for topology1/IPC3 but we didn't add
it for topology2/IPC4.  All recordings show there's a strong DC offset
with RT722 and other codecs, so let's add this component by default in
the non-passthrough cases.

The widget is added in the scope of a pipeline, so that the
auto-generated instance is not handled at a global level.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
@plbossart plbossart force-pushed the topology2/iir-on-mic branch from 7357a04 to 22b227d Compare July 26, 2024 10:17
@plbossart
Copy link
Member Author

v2: use auto-generated instance numbers and inherit pipeline index. The widget is now added as eqiir.41.0

sof-lnl-rt722-l0

@plbossart plbossart marked this pull request as ready for review July 26, 2024 10:19
@plbossart plbossart requested review from ranj063 and jsarha as code owners July 26, 2024 10:19
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@singalsu also good for you ?

@plbossart plbossart requested a review from singalsu August 2, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants