[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250304105723.10579-7-srinivas.kandagatla@linaro.org>
Date: Tue, 4 Mar 2025 10:57:23 +0000
From: srinivas.kandagatla@...aro.org
To: broonie@...nel.org
Cc: perex@...ex.cz,
tiwai@...e.com,
krzysztof.kozlowski@...aro.org,
linux-sound@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
dmitry.baryshkov@...aro.org,
johan+linaro@...nel.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH v3 6/6] ASoC: qdsp6: q6apm-dai: fix playback dsp pipeline underruns
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
QDSP has latency of 10 plus milli seconds, Which is difficult to acheive
with just 2 periods and fragment size starting at 128. Increase the number
of fragments to 8 so that it fulfils the dsp requirements
Without this patch, DSP playback pipeline seems to hit few underruns.
Fixes: 9b4fe0f1cd79 ("ASoC: qdsp6: audioreach: add q6apm-dai support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
---
sound/soc/qcom/qdsp6/q6apm-dai.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/qcom/qdsp6/q6apm-dai.c b/sound/soc/qcom/qdsp6/q6apm-dai.c
index aca0a98d58a5..aa6bd359300b 100644
--- a/sound/soc/qcom/qdsp6/q6apm-dai.c
+++ b/sound/soc/qcom/qdsp6/q6apm-dai.c
@@ -18,8 +18,8 @@
#define DRV_NAME "q6apm-dai"
-#define PLAYBACK_MIN_NUM_PERIODS 2
-#define PLAYBACK_MAX_NUM_PERIODS 8
+#define PLAYBACK_MIN_NUM_PERIODS 8
+#define PLAYBACK_MAX_NUM_PERIODS 16
#define PLAYBACK_MAX_PERIOD_SIZE 65536
#define PLAYBACK_MIN_PERIOD_SIZE 128
#define CAPTURE_MIN_NUM_PERIODS 2
--
2.39.5
Powered by blists - more mailing lists