-
Notifications
You must be signed in to change notification settings - Fork 349
dp: nocodec: switch playback SRC to DP by default #10469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@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. |
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 <[email protected]>
Switch one of the two SRC instances in the nocodec topology to DP mode by default. Signed-off-by: Guennadi Liakhovetski <[email protected]>
There was a problem hiding this 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.
|
SOFCI TEST |
Switch one of the two SRC instances in the nocodec topology to DP mode by default.