Skip to content

Conversation

@jsarha
Copy link
Contributor

@jsarha jsarha commented Nov 12, 2025

Convert all comp_data_blob_handler_new/free(), rmalloc(), bmalloc(), and rfree() calls to their module associated counterparts.

Convert all comp_data_blob_handler_new/free(), rmalloc(), bmalloc(),
and rfree() calls to their module associated counterparts.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
Copilot AI review requested due to automatic review settings November 12, 2025 14:38
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

Converts the DAX module to use the new module API by replacing legacy memory and blob handler functions with their module-specific counterparts, ensuring proper resource management through the module context.

  • Replaced legacy memory allocation/deallocation functions (rballoc, rzalloc, rfree) with module-specific equivalents (mod_balloc, mod_zalloc, mod_free)
  • Updated blob handler functions to use mod_data_blob_handler_new/free instead of comp_data_blob_handler_new/free
  • Modified dax_buffer_alloc and dax_buffer_release to accept processing_module parameter for API consistency

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

@lgirdwood
Copy link
Member

@lrudyX I dont think this module is tested by Internal CI, good to go ?

@jsarha
Copy link
Contributor Author

jsarha commented Nov 18, 2025

@lrudyX I dont think this module is tested by Internal CI, good to go ?

@lgirdwood , there is a in testbench using the DAX module, and at least runs succesfully also after this PR.

@lgirdwood
Copy link
Member

Merging. Not tested by internal CI.

@lgirdwood lgirdwood merged commit 7dd90d9 into thesofproject:main Nov 20, 2025
39 of 42 checks passed
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.

3 participants