Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1389146
| From | Martin Sperl <kernel@martin.sperl.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ASoC: dmaengine_pcm: Add support for packed transfers |
| Date | 2016-04-27 16:40 +0200 |
| Message-ID | <rsyNe-2L2-59@gated-at.bofh.it> (permalink) |
| References | <rsxR8-1XC-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> On 27.04.2016, at 15:26, Matthias Reichl <hias@horus.com> wrote: > > dmaengine_pcm currently only supports setups where FIFO reads/writes > correspond to exactly one sample, eg 16-bit sample data is transferred > via 16-bit FIFO accesses, 32-bit data via 32-bit accesses. > > This patch adds support for setups with fixed width FIFOs where > multiple samples are packed into a larger word. > > For example setups with a 32-bit wide FIFO register that expect > 16-bit sample transfers to be done with the left+right sample data > packed into a 32-bit word. > > Support for packed transfers is controlled via the > SND_DMAENGINE_PCM_DAI_FLAG_PACK flag in snd_dmaengine_dai_dma_data.flags > > If this flag is set dmaengine_pcm doesn't put any restriction on the > supported formats and sets the DMA transfer width to undefined. > > This means control over the constraints is now transferred to the DAI > driver and it's responsible to provide proper configuration and > check for possible corner cases that aren't handled by the ALSA core. > > Signed-off-by: Matthias Reichl <hias@horus.com> Tested-by: Martin Sperl <kernel@martin.sperl.org>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] ASoC: dmaengine_pcm: Add support for packed transfers Matthias Reichl <hias@horus.com> - 2016-04-27 15:40 +0200
[PATCH 2/2] ASoC: bcm2835: Add S16_LE support via packed DMA transfers Matthias Reichl <hias@horus.com> - 2016-04-27 15:40 +0200
Re: [PATCH 2/2] ASoC: bcm2835: Add S16_LE support via packed DMA transfers Martin Sperl <kernel@martin.sperl.org> - 2016-04-27 16:40 +0200
Applied "ASoC: bcm2835: Add S16_LE support via packed DMA transfers" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-04-27 18:40 +0200
Re: [PATCH 2/2] ASoC: bcm2835: Add S16_LE support via packed DMA transfers Eric Anholt <eric@anholt.net> - 2016-04-27 21:00 +0200
Re: [PATCH 1/2] ASoC: dmaengine_pcm: Add support for packed transfers Lars-Peter Clausen <lars@metafoo.de> - 2016-04-27 16:20 +0200
Re: [PATCH 1/2] ASoC: dmaengine_pcm: Add support for packed transfers Martin Sperl <kernel@martin.sperl.org> - 2016-04-27 16:40 +0200
Applied "ASoC: dmaengine_pcm: Add support for packed transfers" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-04-27 18:40 +0200
csiph-web