Re: [PATCH v9 13/13] ASoC: qcom: q6apm: Add support for early buffer mapping on DSP
From: Jens Glathe
Date: Tue May 12 2026 - 09:35:00 EST
On 5/12/26 13:43, Srinivas Kandagatla wrote:
Could you please test this change on your setup and let me know if it
helps? If so, I’ll send out a proper fix.
This is a workaround for a known issue, I will add more details in the
patch that I will send once we know if it fixes the issue.
------------------------>cut<----------------------------
diff --git a/sound/soc/qcom/qdsp6/q6apm-dai.c
b/sound/soc/qcom/qdsp6/q6apm-dai.c
index ede19fdea6e9..8a1a3d8a3398 100644
--- a/sound/soc/qcom/qdsp6/q6apm-dai.c
+++ b/sound/soc/qcom/qdsp6/q6apm-dai.c
@@ -497,7 +497,7 @@ static int q6apm_dai_pcm_new(struct
snd_soc_component *component, struct snd_soc
{
struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
struct snd_pcm *pcm = rtd->pcm;
- int size = BUFFER_BYTES_MAX;
+ int size = BUFFER_BYTES_MAX + 4096;
int graph_id, ret;
struct snd_pcm_substream *substream;
------------------------>cut<----------------------------
--srini
Hi Srini,
thank you for the fast patch. Tested on x13s with the original (full series applied) and this patch added. Original breaks as reported, with this patch it works normally.
with best regards
Jens