public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] ASoC: q6apm: fix under runs and fragment sizes
@ 2025-02-20 16:28 srinivas.kandagatla
  2025-02-20 16:28 ` [PATCH v2 1/5] ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs srinivas.kandagatla
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: srinivas.kandagatla @ 2025-02-20 16:28 UTC (permalink / raw)
  To: broonie
  Cc: perex, tiwai, krzysztof.kozlowski, linux-sound, linux-arm-msm,
	linux-kernel, dmitry.baryshkov, johan+linaro, Srinivas Kandagatla

From: Srinivas Kandagatla <srinivas.kandagatla@linaro.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 v1:
	- added new patches to fix the fragment size, pointer
	  calculations
	- updated to schedule only available buffers.

Srinivas Kandagatla (4):
  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 size
  ASoC: q6apm-dai: remove redundant hw_constraints setup

 sound/soc/qcom/qdsp6/q6apm-dai.c | 94 +++++++++++++-------------------
 sound/soc/qcom/qdsp6/q6apm.c     | 18 +++++-
 sound/soc/qcom/qdsp6/q6apm.h     |  3 +
 3 files changed, 57 insertions(+), 58 deletions(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-02-21 10:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 16:28 [PATCH v2 0/5] ASoC: q6apm: fix under runs and fragment sizes srinivas.kandagatla
2025-02-20 16:28 ` [PATCH v2 1/5] ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs srinivas.kandagatla
2025-02-20 16:28 ` [PATCH v2 2/5] ASoC: q6apm: add q6apm_get_hw_pointer helper srinivas.kandagatla
2025-02-20 16:28 ` [PATCH v2 3/5] ASoC: q6apm-dai: make use of q6apm_get_hw_pointer srinivas.kandagatla
2025-02-20 16:58   ` Dmitry Baryshkov
2025-02-20 16:28 ` [PATCH v2 4/5] ASoC: qdsp6: q6apm-dai: set correct period size srinivas.kandagatla
2025-02-20 16:57   ` Dmitry Baryshkov
2025-02-20 16:28 ` [PATCH v2 5/5] ASoC: q6apm-dai: remove redundant hw_constraints setup srinivas.kandagatla
2025-02-20 17:38 ` [PATCH v2 0/5] ASoC: q6apm: fix under runs and fragment sizes Johan Hovold
2025-02-20 17:44   ` Srinivas Kandagatla
2025-02-21  8:29   ` Johan Hovold
2025-02-21  8:59     ` Johan Hovold
2025-02-21 10:15       ` Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox