Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Jan 6, 2026

Switch one of the two SRC instances in the nocodec topology to DP mode by default.

@softwarecki softwarecki self-requested a review January 7, 2026 14:31
@lgirdwood
Copy link
Member

@lyakh Some nocodec failings.

@lyakh
Copy link
Collaborator Author

lyakh commented Jan 8, 2026

@lyakh Some nocodec failings.

@lgirdwood yes, I've traced it back to an update in Zephyr, which had disabled double mapping. I'm working to fix it.

lyakh added 2 commits January 9, 2026 14:10
Since Zephyr has removed double mapping per Kconfig switch we need to
restore it in SOF. Next we should try to optimize mappings to only
use the ones we really need.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Switch one of the two SRC instances in the nocodec topology to DP
mode by default.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@lyakh lyakh marked this pull request as ready for review January 9, 2026 13:39
Copilot AI review requested due to automatic review settings January 9, 2026 13:39
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 switches the playback SRC (Sample Rate Converter) to use the DP (Data Processing) domain by default in the nocodec topology, while keeping the capture SRC in the default domain. Additionally, it adds cached memory partition support for DP scheduler tasks.

Key changes:

  • Splits the SRC domain configuration into separate playback and capture domains
  • Adds cached memory partition support (HEAP_CACHE and CFG_CACHE) for improved memory access patterns
  • Updates test topology parameters to maintain capture path DP testing

Reviewed changes

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

File Description
tools/topology/topology2/cavs-nocodec.conf Splits SRC_DOMAIN into SRC_DOMAIN_PLAYBACK (DP) and SRC_DOMAIN_CAPTURE (default) and updates widget configurations
tools/topology/topology2/development/tplg-targets.cmake Updates test topology parameters from SRC_DOMAIN to SRC_DOMAIN_CAPTURE for MTL, LNL, and PTL platforms
src/schedule/zephyr_dp_schedule_application.c Adds cached memory partition initialization and cleanup for both heap and mailbox partitions
src/schedule/zephyr_dp_schedule.h Extends the sof_dp_part_type enum with HEAP_CACHE and CFG_CACHE partition types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lyakh lyakh added the DNM Do Not Merge tag label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DNM Do Not Merge tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants