[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250304105723.10579-1-srinivas.kandagatla@linaro.org>
Date: Tue, 4 Mar 2025 10:57:17 +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 0/6] ASoC: q6apm: fix under runs and fragment sizes
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
On Qualcomm Audioreach setup, some of the audio artifacts are seen in
both recording and playback. These patches fix issues by
1. Adjusting the fragment size that dsp can service.
2. schedule available playback buffers in time for dsp to not hit under runs
3. remove some of the manual calculations done to get hardware pointer.
With these patches, am able to see Audio quality improvements.
Any testing would be appreciated.
thanks,
Srini
Changes since v2:
- dropped patch which is causing regression with pluseaudio.
- setup period sizes only for capture path
- fix underruns/overruns in dsp pipelines.
- add fixes tag
- add patch to fix buffer alignment
Changes since v1:
- added new patches to fix the fragment size, pointer
calculations
- updated to schedule only available buffers.
Srinivas Kandagatla (6):
ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs
ASoC: q6apm: add q6apm_get_hw_pointer helper
ASoC: q6apm-dai: make use of q6apm_get_hw_pointer
ASoC: qdsp6: q6apm-dai: set correct period and buffer alignment.
ASoC: qdsp6: q6apm-dai: fix capture pipeline overruns.
ASoC: qdsp6: q6apm-dai: fix playback dsp pipeline underruns
sound/soc/qcom/qdsp6/q6apm-dai.c | 63 +++++++++++++++++---------------
sound/soc/qcom/qdsp6/q6apm.c | 18 ++++++++-
sound/soc/qcom/qdsp6/q6apm.h | 3 ++
3 files changed, 53 insertions(+), 31 deletions(-)
--
2.39.5
Powered by blists - more mailing lists