Skip to content

Conversation

@singalsu
Copy link
Collaborator

@singalsu singalsu commented Oct 2, 2025

No description provided.

@singalsu singalsu marked this pull request as ready for review October 3, 2025 11:14
Copilot AI review requested due to automatic review settings October 3, 2025 11:14
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

This PR adds topology configurations for the NVL (Nova Lake) platform with SoundWire (SDW) and digital microphone (DMIC) support. The changes enable audio topology generation for various NVL hardware configurations including RT721/RT722 codecs and different microphone setups.

Key changes:

  • Added comprehensive topology targets for NVL platform with various codec and microphone configurations
  • Integrated NVL topology targets into the build system
  • Added platform configuration mapping for NVL to reuse PTL settings

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/topology/topology2/production/tplg-targets-ace4.cmake New file defining 14 topology configurations for NVL platform with RT721/RT722 codecs and various DMIC setups
tools/topology/topology2/production/CMakeLists.txt Added include for the new ace4 topology targets
tools/topology/topology2/development/tplg-targets.cmake Added development topology for NVL nocodec configuration
tools/topology/topology2/cavs-sdw.conf Added NVL platform mapping to reuse PTL configuration
tools/topology/topology2/cavs-nocodec.conf Added NVL platform mapping to reuse PTL configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

Excellent, thanks @singalsu !

@kv2019i kv2019i requested review from bardliao and ujfalusi October 7, 2025 17:08
Copy link
Collaborator

@bardliao bardliao left a comment

Choose a reason for hiding this comment

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

I don't expect that the topology with PCH-DMIC is still needed. But it is harmless to have them.

SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nvl-rt721-4ch.bin,DMIC0_ENHANCED_CAPTURE=true,\
EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default,\
DEEPBUFFER_FW_DMA_MS=10,DEEP_BUF_SPK=true"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we also need to topologies for the machines without DMIC (sans -2ch / -4ch).
New kernels will not going to need these - only the function fragments - but older kernels with backports will still need them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was asked to create patch to build these topologies. Should this PR be dropped?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was asked to create patch to build these topologies. Should this PR be dropped?

Not necessary, adding the topologies without PCH DMIC into this PR should be good enough.

Copy link
Member

Choose a reason for hiding this comment

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

@singalsu any update - we can merge this and follow up with a PR without PCH DMIC

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I don't see blockers for this, except that this adds quite many topologies those may become unused. But maybe we can also later delete builds of topologies those we notice are not needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I still don't understand this, if we add the -Xch variants of monolithic topologies then we also need to add the no PCH-DMIC version(s).

If we say from now on that only function topologies are supported for NVL+, then none of the monolithic ones should be here.

@kv2019i
Copy link
Collaborator

kv2019i commented Oct 29, 2025

Based on internal discussion, we only need the nocodec toplogy for now. Please ack @ujfalusi @bardliao , so @singalsu can proceed.

This patch adds the nocodec topology for NVL platform. Since
the topologies are identical to PTL, the special topologies
for other rates and channels counts can be copied from the
PTL builds.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
Copy link
Collaborator Author

Based on internal discussion, we only need the nocodec toplogy for now. Please ack @ujfalusi @bardliao , so @singalsu can proceed.

Thanks, this is now updated to be nocodec only. Please re-review!

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.


# SSP topology for NVL
"cavs-nocodec\;sof-nvl-nocodec\;PLATFORM=nvl,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-nvl-nocodec.bin"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we not need the nvl specific DMIC and SSP fragments still?
@bardliao ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

We need DMIC and HDMI fragments. But I think it can be a different PR.

@kv2019i kv2019i merged commit 7bcdf6f into thesofproject:main Oct 31, 2025
39 of 42 checks passed
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.

5 participants