From fec09e0b87c25e35861ff1ce45368e69ecb59d58 Mon Sep 17 00:00:00 2001 From: Marcin Rajwa Date: Tue, 14 Jul 2020 13:41:49 +0200 Subject: [PATCH] topology: schedule two KWD pipelines on 5 ms period This patch changes the KWD pipelines perriod from 20 ms to 5 ms to improve performance. Signed-off-by: Marcin Rajwa --- tools/topology/sof-cml-rt5682-kwd.m4 | 2 +- tools/topology/sof-tgl-max98357a-rt5682.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/topology/sof-cml-rt5682-kwd.m4 b/tools/topology/sof-cml-rt5682-kwd.m4 index 4de4238dd..e098f436f 100644 --- a/tools/topology/sof-cml-rt5682-kwd.m4 +++ b/tools/topology/sof-cml-rt5682-kwd.m4 @@ -19,7 +19,7 @@ include(`abi.h') # Include Platform specific DSP configuration include(`platform/intel/'PLATFORM`.m4') -define(KWD_PIPE_SCH_DEADLINE_US, 20000) +define(KWD_PIPE_SCH_DEADLINE_US, 5000) DEBUG_START diff --git a/tools/topology/sof-tgl-max98357a-rt5682.m4 b/tools/topology/sof-tgl-max98357a-rt5682.m4 index 9b7be92c5..989f1afa2 100644 --- a/tools/topology/sof-tgl-max98357a-rt5682.m4 +++ b/tools/topology/sof-tgl-max98357a-rt5682.m4 @@ -84,7 +84,7 @@ define(DMIC_PIPELINE_16k_ID, `11') define(DMIC_PIPELINE_KWD_ID, `12') define(DMIC_DAI_LINK_16k_ID, `2') # define pcm, pipeline and dai id -define(KWD_PIPE_SCH_DEADLINE_US, 20000) +define(KWD_PIPE_SCH_DEADLINE_US, 5000) # include the generic dmic with kwd include(`platform/intel/intel-generic-dmic-kwd.m4')