Skip to content

Commit

Permalink
topology2: google-rtc-aec: expose DP module core_id for overriding
Browse files Browse the repository at this point in the history
RTC_AEC module is using DP and rest of pipeline is LL and both can
run on different cores.

For the purpose to assign DP module individually on secondary core,
now add a new macro GOOGLE_AEC_DP_CORE_ID.

Signed-off-by: Yong Zhi <[email protected]>
  • Loading branch information
yongzhi1 authored and lgirdwood committed Nov 7, 2023
1 parent f8a9591 commit 49377e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/topology/topology2/cavs-rt5682.conf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ Define {
BT_PB_DAI_PIPELINE_SRC "copier.host.9.1"
BT_PB_PIPELINE_STREAM_NAME "dai-copier.SSP.10.1"
GOOGLE_RTC_AEC_SUPPORT 0
# assign core for AEC LL pipelines
GOOGLE_AEC_CORE_ID 0
# assign core for RTC_AE DP task
GOOGLE_AEC_DP_CORE_ID 0
HEADSET_PCM_NAME "Headset"
HEADSET_PCM_ID 0
SPEAKER_PCM_NAME "Speakers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Object.Pipeline.google-rtc-aec-capture [
}

Object.Widget.google-rtc-aec.1 {
core_id $GOOGLE_AEC_DP_CORE_ID
Object.Base.input_pin_binding.1 {
input_pin_binding_name "module-copier.18.1"
}
Expand Down

0 comments on commit 49377e8

Please sign in to comment.