From 9b17166832dae6319da406c88dfb7202386cc64d Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Fri, 15 Sep 2023 16:44:51 +0800 Subject: [PATCH] topology2: set pipeline priority for google aec capture stream Set non-zero priority for host pipeline of aec stream so that it has the highest priority then driver will first trigger this pipeline since ipc4 requires triggering pipeline from sink to source. Signed-off-by: Rander Wang --- tools/topology/topology2/cavs-rt5682.conf | 1 + .../topology2/platform/intel/google-rtc-aec-reference.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/topology/topology2/cavs-rt5682.conf b/tools/topology/topology2/cavs-rt5682.conf index f3cdc8d47aeb..8627b09227d5 100644 --- a/tools/topology/topology2/cavs-rt5682.conf +++ b/tools/topology/topology2/cavs-rt5682.conf @@ -98,6 +98,7 @@ Define { GOOGLE_RTC_AEC_SUPPORT 0 GOOGLE_RTC_AEC_REF_SOURCE 'module-copier.8.2' GOOGLE_AEC_CORE_ID 0 + GOOGLE_AEC_HOST_PIPELINE_PRIORITY 5 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 b2e9a88ec1e9..480cfd15e456 100644 --- a/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf +++ b/tools/topology/topology2/platform/intel/google-rtc-aec-reference.conf @@ -31,6 +31,7 @@ Object.Pipeline.host-gateway-capture[ } Object.Widget.pipeline."1" { core $GOOGLE_AEC_CORE_ID + priority $GOOGLE_AEC_HOST_PIPELINE_PRIORITY } } ]