Skip to content

Conversation

@bardliao
Copy link
Collaborator

@bardliao bardliao commented Jun 9, 2025

Add fragment sdca amp feedback topologies.

Copilot AI review requested due to automatic review settings June 9, 2025 13:28
@bardliao bardliao requested review from jsarha and ranj063 as code owners June 9, 2025 13:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds two new SDCA amp feedback topologies to the generic SDCA targets list, enabling single- and dual-amp feedback configurations.

  • Introduce sof-sdca-1amp-feedback-id3 with feedback enabled
  • Introduce sof-sdca-2amp-feedback-id3 with feedback enabled

"cavs-sdw\;sof-sdca-2amp-id2\;NUM_SDW_AMP_LINKS=2,SDW_JACK=false,\
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,NUM_HDMIS=0"

"cavs-sdw\;sof-sdca-1amp-feedback-id3\;NUM_SDW_AMP_LINKS=1,SDW_JACK=false,\
Copy link

Copilot AI Jun 9, 2025

Choose a reason for hiding this comment

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

Both new entries use id3, which conflicts with each other. Topology IDs should be unique to avoid target collisions—consider renaming one of them (e.g., id4).

Copilot uses AI. Check for mistakes.
Comment on lines 17 to 22
SDW_SPK_STREAM=Playback-SmartAmp,SDW_SPK_IN_STREAM=Capture-SmartAmp,\
SDW_AMP_FEEDBACK=true,NUM_HDMIS=0"

"cavs-sdw\;sof-sdca-2amp-feedback-id3\;NUM_SDW_AMP_LINKS=2,SDW_JACK=false,\
SDW_SPK_STREAM=Playback-SmartAmp,SDW_SPK_IN_STREAM=Capture-SmartAmp,\
SDW_AMP_FEEDBACK=true,NUM_HDMIS=0"
Copy link

Copilot AI Jun 9, 2025

Choose a reason for hiding this comment

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

[nitpick] The property order deviates from existing entries. Reordering to match other target lines (e.g., grouping playback then feedback vars consistently) can improve readability.

Suggested change
SDW_SPK_STREAM=Playback-SmartAmp,SDW_SPK_IN_STREAM=Capture-SmartAmp,\
SDW_AMP_FEEDBACK=true,NUM_HDMIS=0"
"cavs-sdw\;sof-sdca-2amp-feedback-id3\;NUM_SDW_AMP_LINKS=2,SDW_JACK=false,\
SDW_SPK_STREAM=Playback-SmartAmp,SDW_SPK_IN_STREAM=Capture-SmartAmp,\
SDW_AMP_FEEDBACK=true,NUM_HDMIS=0"
SDW_SPK_STREAM=Playback-SmartAmp,SDW_AMP_FEEDBACK=true,\
SDW_SPK_IN_STREAM=Capture-SmartAmp,NUM_HDMIS=0"
"cavs-sdw\;sof-sdca-2amp-feedback-id3\;NUM_SDW_AMP_LINKS=2,SDW_JACK=false,\
SDW_SPK_STREAM=Playback-SmartAmp,SDW_AMP_FEEDBACK=true,\
SDW_SPK_IN_STREAM=Capture-SmartAmp,NUM_HDMIS=0"

Copilot uses AI. Check for mistakes.
Add fragment sdca amp feedback topologies.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao force-pushed the topology2-amp-feedback branch from 52a90c6 to 28ea88b Compare June 9, 2025 13:39
@lgirdwood
Copy link
Member

Adding @rfvirgil and @charleskeepax

@bardliao
Copy link
Collaborator Author

bardliao commented Dec 3, 2025

closing for now. Will reopen if we need it.

@bardliao bardliao closed this Dec 3, 2025
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.

2 participants