Skip to content

get/set_configuration from DP "application" context - #11199

Draft
lyakh wants to merge 6 commits into
thesofproject:mainfrom
lyakh:config
Draft

lyakh wants to merge 6 commits into
thesofproject:mainfrom
lyakh:config

Conversation

@lyakh

@lyakh lyakh commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Add support for get_configuration() and set_configuration() for DP modules when run by the "application" DP implementation

Make ipc4_process_large_config_get() static, it's only called once in
the same file where it's defined.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Remove "const" from the "param" argument of scheduler_dp_thread_ipc()
- some of the wrapped methods have to modify it.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
No need to split module freeing code between module_free() and
module_adapter_free(), merge it back together.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Use MAILBOX_HOSTBOX_SIZE to map the mailbox.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
With the "application" version of the DP scheduler individual module
adapter methods are offloaded to the userspace thread context. Add
two more methods to the offloaded set: get_configuration() and
set_configuration(). Note, thet get_configuration() also requires
copying data back to the coller, which until now wasn't done.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
It is unclear in which context buffer binding should be executed when
an LL and a DP modules are being bound with both running in userspace
context. Since DP modules have limited visibility into the system and
the userspace LL context on the other hand has access to most DP
assets, perform binding and unbinding in LL thread context. Add
comments to explain that.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
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.

1 participant