Skip to content

Conversation

@ranj063
Copy link
Collaborator

@ranj063 ranj063 commented Oct 8, 2025

Set the pipeline pointer during init for all modules and remove the code from copier init. Also set the pipeline period for all LL modules during init.

Copilot AI review requested due to automatic review settings October 8, 2025 15:22
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 centralizes pipeline pointer initialization by moving it from copier-specific code to the general module adapter initialization. This ensures all modules receive proper pipeline configuration during initialization.

  • Moved pipeline pointer and period setup from copier init to module_adapter_new_ext
  • Added LL module period configuration to match pipeline period
  • Removed redundant pipeline setup code from copier module

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/audio/module_adapter/module_adapter.c Added centralized pipeline pointer and period initialization for all modules
src/audio/copier/copier.c Removed module-specific pipeline initialization code that is now handled centrally

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

@ranj063 ranj063 force-pushed the fix/dev_pipeline branch 3 times, most recently from c18790b to 99f57e8 Compare October 8, 2025 15:32
@ranj063 ranj063 requested review from jsarha and lgirdwood October 8, 2025 16:28
@ranj063 ranj063 force-pushed the fix/dev_pipeline branch 2 times, most recently from d12dd3d to 964b4cf Compare October 9, 2025 14:00
Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

The real branch is Ok now and I have tested it. For some reason the web interace is not updated accordingly. But I'll approve anyway. Who ever merges this, please make sure the "if (ipc_pipe)" condition makes sense.

@ranj063 ranj063 force-pushed the fix/dev_pipeline branch 2 times, most recently from 216065e to debddf4 Compare October 9, 2025 15:26
@ranj063
Copy link
Collaborator Author

ranj063 commented Oct 9, 2025

SOFCI TEST

Set the pipeline pointer during init for all modules and remove the code
from copier init.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
@kv2019i kv2019i merged commit d5d70f1 into thesofproject:main Oct 10, 2025
39 of 45 checks passed
@ranj063 ranj063 deleted the fix/dev_pipeline branch October 10, 2025 14:56
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.

4 participants