Skip to content

Add Smart amp feedback pipeline in nocodec topology - #6996

Merged
kv2019i merged 4 commits into
thesofproject:mainfrom
ranj063:pr6799
Feb 15, 2023
Merged

Add Smart amp feedback pipeline in nocodec topology#6996
kv2019i merged 4 commits into
thesofproject:mainfrom
ranj063:pr6799

Conversation

@ranj063

@ranj063ranj063 commented Jan 27, 2023

Copy link
Copy Markdown
Collaborator

This is a replacement for #6799 and depends on the kernel PR thesofproject/linux#4160

Comment threadtools/topology/topology2/cavs-nocodec.conf Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

value of 0 as index is valid? As far as I know the pin0 format is derived from the generic base format, so index = 0 is ignored.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

thats right pin 0 will be ignored. Now changed the min to 1

@kv2019ikv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good. I'll wait until other folks working on this area are good with this. @aiChaoSONG@ujfalusi@libinyang ....

Comment threadtools/topology/topology2/include/common/pin_format.conf Outdated
payload_with_output_fmt 901
# The token init_payload_format is used to describe the
# module instance initialization payload format
init_payload_format 901

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Allowing for multiple types of init payload is something we seem to need, so this seems more practical approach. It would be nice to have a pointer where the enumerated options are documented. This PR now defines "1".

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

Yes, fixed now.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note that the abi header is going to change to match with the sof_abi_hdr

@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

Same comment as the kernel PR. The audio formats in the current tplg's need to be reworked to make them extensible for multiple input/output pins. This PR needs to wait until that is done.

@ranj063
ranj063 marked this pull request as draft January 30, 2023 20:53
@ranj063
ranj063force-pushed the pr6799 branch 6 times, most recently from ec8ffc4 to 7c084ceCompareFebruary 3, 2023 07:22
Comment threadtools/topology/topology2/include/components/smart_amp.conf Outdated
@ranj063
ranj063 marked this pull request as ready for review February 8, 2023 15:56
ranj063and others added 3 commits February 8, 2023 11:15
The micsel will need to use the base config extension and the init
config type will need to be set in the manifest.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds the widget class for smart_amp module
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This patch adds mixout-gain-smart-amp-dai-copier-playback
pipeline.
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>

@plbossartplbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't see anything that would look wrong but my understanding of topology isn't exactly stellar.

@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

Please don't merge this before the rimage and kernel dependencies are merged

Use mixout-gain-smart-amp-dai-copier-playback pipeline
for SSP0 DAI playback.
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
@lgirdwoodlgirdwood changed the title Add Smart amp feedback pipeline in nocodec topology[DNM] Add Smart amp feedback pipeline in nocodec topologyFeb 9, 2023
@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

SOFCI TEST

@mengdonglin

Copy link
Copy Markdown
Collaborator

SOFCI TEST

@ranj063 It seems the kernel and rimage dependencies all got merged. So we only need to fix the CI failure, right?

@aiChaoSONG Can you please check if we have observed the same error in local test?

@kv2019i

Copy link
Copy Markdown
Collaborator

This depends on #7069

@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

SOFCI TEST

@ranj063ranj063 changed the title [DNM] Add Smart amp feedback pipeline in nocodec topologyAdd Smart amp feedback pipeline in nocodec topologyFeb 14, 2023
@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

SOFCI TEST

1 similar comment
@ranj063

Copy link
Copy Markdown
CollaboratorAuthor

SOFCI TEST

@ranj063ranj063 changed the title Add Smart amp feedback pipeline in nocodec topology[DNM] Add Smart amp feedback pipeline in nocodec topologyFeb 15, 2023
@kv2019ikv2019i changed the title [DNM] Add Smart amp feedback pipeline in nocodec topologyAdd Smart amp feedback pipeline in nocodec topologyFeb 15, 2023
@kv2019i

Copy link
Copy Markdown
Collaborator

Removed DNM prefix after #7099 and #7100 merged. Proceeding with merge.

Sign up for freeto 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.

6 participants

@ranj063@mengdonglin@kv2019i@plbossart@lgirdwood@ujfalusi