From: Laxman Dewangan <ldewangan@nvidia.com>
To: <tiwai@suse.de>, <lrg@ti.com>,
<broonie@opensource.wolfsonmicro.com>, <lars@metafoo.de>,
<swarren@nvidia.com>, <perex@perex.cz>, <clemens@ladisch.de>
Cc: <alsa-devel@alsa-project.org>, <linux-kernel@vger.kernel.org>,
Laxman Dewangan <ldewangan@nvidia.com>
Subject: [PATCH 0/3] ASoC: Move pcm writecombine dma buffer allocation to core
Date: Fri, 29 Jun 2012 15:53:15 +0530 [thread overview]
Message-ID: <1340965398-20872-1-git-send-email-ldewangan@nvidia.com> (raw)
Some of the ARM based soc allocate the writecombine dma buffer for
pcm substreams. They have the same codes for managing this buffer.
Moving this to the core/pcm files so that they can use that directly.
Remove the code from Tegra PCM and use these new library function.
This is enabled only for ARM specific and can be extended to other
architecture if they support the writecombine dma buffer.
This patch is based on detail discussion on patch:
[PATCH] ASoC: snd_dmaengine: add common api for pcm_mmap
And suggestion from Lars and Takashi.
Laxman Dewangan (3):
ALSA: pcm: add apis for writecombine dma buffer allocation
ASoC: add apis for creating/free pcm dma buffer
ASoC: tegra: use core/pcm library for pcm buffer allocation
include/sound/pcm.h | 17 ++++++++
include/sound/soc.h | 13 ++++++
sound/core/pcm_native.c | 53 +++++++++++++++++++++++++
sound/soc/soc-core.c | 50 +++++++++++++++++++++++
sound/soc/tegra/tegra_pcm.c | 92 ++-----------------------------------------
5 files changed, 137 insertions(+), 88 deletions(-)
next reply other threads:[~2012-06-29 10:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-29 10:23 Laxman Dewangan [this message]
2012-06-29 10:23 ` [PATCH 1/3] ALSA: pcm: add apis for writecombine dma buffer allocation Laxman Dewangan
2012-06-29 10:23 ` [PATCH 2/3] ASoC: add apis for creating/free pcm dma buffer Laxman Dewangan
2012-06-29 10:23 ` [PATCH 3/3] ASoC: tegra: use core/pcm library for pcm buffer allocation Laxman Dewangan
2012-06-29 12:13 ` [PATCH 0/3] ASoC: Move pcm writecombine dma buffer allocation to core Takashi Iwai
2012-06-29 15:04 ` Laxman Dewangan
2012-06-29 15:22 ` Takashi Iwai
2012-06-29 15:49 ` Laxman Dewangan
2012-06-29 16:06 ` Lars-Peter Clausen
2012-06-29 16:18 ` Takashi Iwai
2012-06-29 16:32 ` Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340965398-20872-1-git-send-email-ldewangan@nvidia.com \
--to=ldewangan@nvidia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=clemens@ladisch.de \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lrg@ti.com \
--cc=perex@perex.cz \
--cc=swarren@nvidia.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox