]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: qcom: q6apm-dai: add push-pull and watermark event support
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Thu, 28 May 2026 18:58:05 +0000 (19:58 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jun 2026 16:19:15 +0000 (17:19 +0100)
commit4cfbd3a8d5961c30fefaae543ea67fc7b048480a
treecff10ba5194cc0adc526d09ae3ea5421cf27d523
parented56ac9e5e96e048eb1a98618908539a02431b46
ASoC: qcom: q6apm-dai: add push-pull and watermark event support

Wire q6apm-dai to use push-pull shared memory graphs.

For push-pull graphs, configure the circular buffer and position buffer,
register watermark events, and use watermark notifications to report PCM
period elapsed. Skip legacy fragment queueing and ACK handling because the
DSP reads/writes directly from the shared circular buffer.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260528185806.6316-7-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6apm-dai.c