Skip to content

cache: remove buffer_acquire/release part 5 - #8220

Merged
lgirdwood merged 10 commits into
thesofproject:mainfrom
tobonex:buffer_acquire_removal_5
Sep 26, 2023
Merged

cache: remove buffer_acquire/release part 5#8220
lgirdwood merged 10 commits into
thesofproject:mainfrom
tobonex:buffer_acquire_removal_5

Conversation

@tobonex

@tobonex tobonex commented Sep 18, 2023

Copy link
Copy Markdown
Contributor

This is step 7 of implementation of #8006
This PR is a result of splitting #8106 into parts.

Remove usage of buffer_acquire and buffer_release from a number of files.

next part: #8221

remove buffer ops from drc module

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from google_hotword_detect module

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
@tobonex
tobonex marked this pull request as ready for review September 19, 2023 11:32
buffer_c = buffer_acquire(cd->aec_reference);

ref = audio_stream_get_rptr(&buffer_c->stream);
ref = audio_stream_get_rptr(&cd->aec_reference->stream);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe keep a pointer for this too - it's a .copy()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

kept buffer_c but changed name to just buffer

Comment thread src/audio/module_adapter/module/waves/waves.c Outdated
Comment thread src/audio/module_adapter/module/waves/waves.c Outdated
@tobonex
tobonex force-pushed the buffer_acquire_removal_5 branch from f4523b1 to f53ed83 Compare September 20, 2023 15:49
remove buffer ops from google_rtc_audio_processing module

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from cadence.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from dts.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from waves.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from probe.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from selector.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from tone.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
remove buffer ops from tdfb.c

this is a continuation of changes
from commit 4a03699

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
@tobonex
tobonex force-pushed the buffer_acquire_removal_5 branch from f53ed83 to e22321f Compare September 20, 2023 15:57
@lgirdwood

Copy link
Copy Markdown
Member

@tobonex @marcinszkudlinski is this next in the series ? I dont think we have any dependecies ?

@tobonex

tobonex commented Sep 26, 2023

Copy link
Copy Markdown
Contributor Author

@tobonex @marcinszkudlinski is this next in the series ? I dont think we have any dependecies ?

Yes, it's this one.

@lgirdwood
lgirdwood merged commit edf85ff into thesofproject:main Sep 26, 2023
@lgirdwood

lgirdwood commented Sep 26, 2023

Copy link
Copy Markdown
Member

@tobonex ok, lets get this in the daily test tomorrrow and if all good we can move on to part 6.

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.

6 participants