On Mon, Feb 03, 2025 at 02:30:26PM +0000, Srinivas Kandagatla wrote: > On 03/02/2025 14:17, Mark Brown wrote: > > On Mon, Feb 03, 2025 at 12:49:45PM +0000, srinivas.kandagatla@xxxxxxxxxx wrote: > > > Fix this by scheduling all the periods, this will ensure that the dsp > > > has enough buffer feed and ultimatley fixing the underruns and audio > > > distortion. > > Should we be writing all periods or just the minimum number of periods > > that's configured? Userspace might not have filled the whole buffer > > yet. > Just minimum number of periods or 1 period. We are queuing up all the > periods to the DSP, so that we do not have to wait for period interrupt to > queue the next one. This significantly reduces the latency in queuing the > periods to dsp. What guarantee do you have that the data isn't garbage?
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- From: Srinivas Kandagatla
- Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- References:
- [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- From: srinivas . kandagatla
- Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- From: Mark Brown
- Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- From: Srinivas Kandagatla
- [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- Prev by Date: Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- Next by Date: Re: [PATCH treewide v2 1/3] bitfield: Add non-constant field_{prep,get}() helpers
- Previous by thread: Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- Next by thread: Re: [PATCH] ASoC: q6apm-dai: schedule all the periods before we start streaming
- Index(es):
![]() |