From 49377e8c9e8f1a69a7bc55c44290a81408b9b4eb Mon Sep 17 00:00:00 2001 From: Yong Zhi Date: Wed, 1 Nov 2023 10:40:21 -0500 Subject: [PATCH] topology2: google-rtc-aec: expose DP module core_id for overriding 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 --- tools/topology/topology2/cavs-rt5682.conf | 3 +++ .../topology2/platform/intel/google-rtc-aec-reference.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/tools/topology/topology2/cavs-rt5682.conf b/tools/topology/topology2/cavs-rt5682.conf index 2984cf202036..ae526566ae08 100644 --- a/tools/topology/topology2/cavs-rt5682.conf +++ b/tools/topology/topology2/cavs-rt5682.conf @@ -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" diff --git a/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf b/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf index 336d31aac2e0..57e9bcfa34da 100644 --- a/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf +++ b/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf @@ -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" }