Skip to content
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

CI ONLY #9521

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

marcinszkudlinski
Copy link
Contributor

No description provided.

module_source_status_count in fact counts
"state" field of all components.
Name changed to module_source_state_count

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
comp_buffer::sink_list field used to have 2 meanings:

 - a list connector of all data receivers from the module
   in this case list is based on
       comp_dev::bsource_list

 - a list connector for data receivers for extra modules
   allocated when raw data processing is in use
   in this case list is based on
       processing_module::sink_buffer_list

This commit separate both cases
case 1 - no changes
case 2 -
 list is now based on processing_module::raw_data_buffers_list
 list is connected by a new field comp_buffer::buffers_list

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
All control structures of buffers shared between cores
are now stored in a non-cached memory alias.
Cache writeback_invalidate is no longer needed here

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
All componetns had been modified to use buffer's API
some time ago, those 2 were either missed or have been
modified later

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
this commit adds 4 methods to comp_buffer API and refactors
one macro to a static inline function in .c file
the reason - macro was used once only and provides
no type control

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
add comp_dev_for_each_consumer_safe and comp_dev_for_each_producer_safe
Those macros allow iteration through all buffers allowing
buffers deletion

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
Unit test should also - if possible - use buffer API
There are, however, some parts of testing that still
use direct access to comp_buffer internals.

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
This commit make all pipeline management code
using comp_buffer API. Since now, no access to comp_buffer
internals should be performed by the SOF code
(with exception of uint test)

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@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