-
Notifications
You must be signed in to change notification settings - Fork 349
Add support for hostless/dailess pipelines #10329
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-License-Identifier: BSD-3-Clause | ||
|
|
||
| if(CONFIG_COMP_TONE STREQUAL "m" AND DEFINED CONFIG_LLEXT) | ||
| add_subdirectory(llext ${PROJECT_BINARY_DIR}/tone_llext) | ||
| add_dependencies(app tone) | ||
| else() | ||
| if(CONFIG_IPC_MAJOR_3) | ||
| add_local_sources(sof tone.c tone-ipc3.c) | ||
| elseif(CONFIG_IPC_MAJOR_4) | ||
| add_local_sources(sof tone.c tone-ipc4.c) | ||
| endif() | ||
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # SPDX-License-Identifier: BSD-3-Clause | ||
|
|
||
| config COMP_TONE | ||
| tristate "Tone component" | ||
| default m if LIBRARY_DEFAULT_MODULAR | ||
| default y | ||
| depends on COMP_MODULE_ADAPTER | ||
| depends on IPC_MAJOR_4 | ||
| select CORDIC_FIXED | ||
| help | ||
| Select for Tone component. This component is used to generate | ||
| audio tones (sine waves) at specified frequencies when the Tone | ||
| mode is enabled. The two other modes it supports are silence where | ||
| it generates 0s and passthrough where the input is passed to the | ||
| output. Warning: This component is untested with IPC_MAJOR_3 and | ||
| is unavailable. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Copyright (c) 2025 Intel Corporation. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| sof_llext_build("tone" | ||
| SOURCES ../tone.c ../tone-ipc4.c | ||
| LIB openmodules | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #include <tools/rimage/config/platform.toml> | ||
| #define LOAD_TYPE "2" | ||
| #include "../tone.toml" | ||
|
|
||
| [module] | ||
| count = __COUNTER__ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
is it IPC4-only now? But you still have "if IPC3" code in this PR, confused
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.
@lyakh only IPC4 is supported now. I left the IPC3 code because Daniel requested to keep it but it doesnt work and needs to be fixed
Uh oh!
There was an error while loading. Please reload this page.
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.
@ranj063 ok, can we then put a comment in Kconfig, explaining, that the dependency on IPC4 is temporary and will be removed once IPC3 support is fixed? OTOH, we could also leave out this dependency and just put a comment here or in CMakeLists.txt that tone is currently broken IPC3 and just not enable it in any configurations that we're using. And if someone enables it - they'll know what they're doing. Or add a
message(WARNING ...)to a cmake-file