Skip to content

Topology2 : add DTS topology to support PTL#10715

Open
joechengxperi wants to merge 1 commit intothesofproject:mainfrom
joechengxperi:main-dts-ptl-tplg-merge
Open

Topology2 : add DTS topology to support PTL#10715
joechengxperi wants to merge 1 commit intothesofproject:mainfrom
joechengxperi:main-dts-ptl-tplg-merge

Conversation

@joechengxperi
Copy link
Copy Markdown
Contributor

@joechengxperi joechengxperi commented Apr 22, 2026

This change was originally included in PR #10678 and has been split into a standalone PR to simplify maintenance. This separation was requested by @macchian .

@joechengxperi joechengxperi requested a review from ranj063 as a code owner April 22, 2026 02:50
Copilot AI review requested due to automatic review settings April 22, 2026 02:50
@joechengxperi joechengxperi requested a review from jsarha as a code owner April 22, 2026 02:50
Copy link
Copy Markdown
Contributor

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 a DTS-based topology2 variant for Panther Lake (PTL) SoundWire designs, integrating DTS processing into the SDW speaker and jack playback pipelines and registering a new production topology build target.

Changes:

  • Register a new PTL “-dts” cavs-sdw topology target in the ace3 production target list.
  • Add DTS-specific SDW amp/jack platform configs and wire them into cavs-sdw.conf via SDW_*_PIPELINE_SRC=dts.
  • Introduce a new reusable BE pipeline class mixout-gain-eqiir-dts-alh-dai-copier-playback and update related pipeline documentation text.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/topology/topology2/production/tplg-targets-ace3.cmake Adds a new PTL DTS topology target tuple.
tools/topology/topology2/platform/intel/sdw-jack-dts.conf New DTS jack pipeline definition, including DTS widget + routing.
tools/topology/topology2/platform/intel/sdw-amp-dts.conf New DTS speaker pipeline definition, including DTS widget + routing.
tools/topology/topology2/include/pipelines/cavs/mixout-gain-eqiir-dts-dai-copier-playback.conf Fixes top-of-file pipeline description/comments.
tools/topology/topology2/include/pipelines/cavs/mixout-gain-eqiir-dts-alh-dai-copier-playback.conf Adds a new BE pipeline class for ALH + EQIIR + DTS.
tools/topology/topology2/cavs-sdw.conf Wires dts pipeline source keys to the new platform configs and includes the new pipeline class.

Comment thread tools/topology/topology2/platform/intel/sdw-amp-dts.conf
Comment thread tools/topology/topology2/platform/intel/sdw-jack-dts.conf Outdated
Comment on lines +653 to +662
Object.Base.route [
{
source "gain.1.1"
sink "eqiir.1.1"
}
{
source "eqiir.1.1"
sink "dts.1.1"
}
{
Copy link

Copilot AI Apr 22, 2026

Choose a reason for hiding this comment

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

The routes gain.1.1 -> eqiir.1.1 and eqiir.1.1 -> dts.1.1 are already defined inside the mixout-gain-eqiir-dts-alh-dai-copier-playback pipeline class (via its internal !route list). Duplicating those connections here is redundant and can make the topology harder to reason about (and may risk duplicate route objects depending on how the conf is expanded). Consider removing these two routes and keeping only the external hop(s) from the last processing widget (dts.1.1) to the next widget (module-copier/alh-copier).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@bardliao I think this one is the same as you mentioned in PR#10678. I've updated it and used the tplgtool2 to verify it again. Thanks.

Copy link
Copy Markdown
Contributor

@johnylin76 johnylin76 left a comment

Choose a reason for hiding this comment

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

No more comment but the previous one to ask about the common topology build.

Comment thread tools/topology/topology2/production/tplg-targets-ace3.cmake
@lgirdwood
Copy link
Copy Markdown
Member

@joechengxperi could you respond/resolve any copilot comments as this is now needed before merge. Thanks !

@joechengxperi
Copy link
Copy Markdown
Contributor Author

joechengxperi commented Apr 22, 2026

@lgirdwood

@joechengxperi could you respond/resolve any copilot comments as this is now needed before merge. Thanks !

Sure, I'm working on it. Thanks for remind it.

Signed-off-by: Joe Cheng <joe.cheng@xperi.com>
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Comment on lines +56 to +60
IncludeByKey.SDW_SPK_ENHANCED_PLAYBACK {
"true" {
Object.Widget.module-copier."22" {
index 21
num_input_pins 1
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

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

sdw-amp-echo-ref.conf routes from module-copier.21.22 when SDW_SPK_ECHO_REF is enabled, but this DTS speaker topology only defines Object.Widget.module-copier."22" when SDW_SPK_ENHANCED_PLAYBACK is true. If someone builds a DTS speaker topology with SDW_SPK_ENHANCED_PLAYBACK=false (several existing targets do this for high-rate configs) and enables SDW_SPK_ECHO_REF, topology compilation will reference a missing widget. Consider defining module-copier."22" unconditionally (matching sdw-amp-generic.conf / sdw-amp-dax.conf), or at least also gating it on SDW_SPK_ECHO_REF in addition to SDW_SPK_ENHANCED_PLAYBACK.

Copilot uses AI. Check for mistakes.
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.

4 participants