All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Cc: Banajit Goswami <bgoswami@codeaurora.org>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	Shengjiu Wang <shengjiu.wang@gmail.com>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Fabio Estevam <festevam@gmail.com>,
	Daniel Mack <daniel@zonque.org>
Subject: [PATCH 00/15] ALSA: Improved WC memory handling
Date: Mon,  2 Aug 2021 09:28:00 +0200	[thread overview]
Message-ID: <20210802072815.13551-1-tiwai@suse.de> (raw)

Hi,

this is a patchset to enhance the ALSA memory allocation helper to
support the allocation of WC pages more generically as well as
supporting the fixed size buffer allocation.  It allows us to reduce
lots of redundant code in various ASoC drivers that still haven't used
the standard preallocation.

Takashi

===

Takashi Iwai (15):
  ALSA: memalloc: Minor refactoring
  ALSA: memalloc: Correctly name as WC
  ALSA: pcm: Allow exact buffer preallocation
  ALSA: memalloc: Support WC allocation on all architectures
  ALSA: pxa2xx: Use managed PCM buffer allocation
  ASoC: bcm: Use managed PCM buffer allocation
  ASoC: fsl: imx-pcm-fiq: Use managed buffer allocation
  ASoC: fsl: imx-pcm-rpmsg: Use managed buffer allocation
  ASoC: tegra: Use managed buffer allocation
  ASoC: fsl_asrc_dma: Use managed buffer allocation
  ASoC: fsl_dma: Use managed buffer allocation
  ASoC: mpc5200: Use managed buffer allocation
  ASoC: qcom: lpass: Use managed buffer allocation
  ASoC: qcom: qdsp6: Use managed buffer allocation
  ASoC: sprd: Use managed buffer allocation

 include/sound/memalloc.h             |  6 +-
 include/sound/pcm.h                  | 47 ++++++++++++--
 include/sound/pxa2xx-lib.h           | 13 +---
 sound/arm/pxa2xx-ac97.c              | 18 ++----
 sound/arm/pxa2xx-pcm-lib.c           | 90 ++------------------------
 sound/core/memalloc.c                | 94 +++++++++++++++++-----------
 sound/core/memalloc_local.h          |  2 +-
 sound/core/pcm_memory.c              | 67 +++++++++++++++-----
 sound/core/sgbuf.c                   | 21 ++++---
 sound/pci/hda/hda_controller.c       |  2 +-
 sound/pci/hda/hda_intel.c            |  2 +-
 sound/pci/intel8x0.c                 |  2 +-
 sound/soc/bcm/bcm63xx-pcm-whistler.c | 82 ++----------------------
 sound/soc/fsl/fsl_asrc_dma.c         | 47 +-------------
 sound/soc/fsl/fsl_dma.c              | 50 +--------------
 sound/soc/fsl/imx-pcm-fiq.c          | 75 +---------------------
 sound/soc/fsl/imx-pcm-rpmsg.c        | 89 +-------------------------
 sound/soc/fsl/mpc5200_dma.c          | 63 +------------------
 sound/soc/pxa/pxa-ssp.c              |  3 -
 sound/soc/pxa/pxa2xx-ac97.c          |  3 -
 sound/soc/pxa/pxa2xx-i2s.c           |  3 -
 sound/soc/pxa/pxa2xx-pcm.c           |  3 -
 sound/soc/qcom/lpass-platform.c      | 60 +-----------------
 sound/soc/qcom/qdsp6/q6asm-dai.c     | 63 +------------------
 sound/soc/sprd/sprd-pcm-dma.c        | 67 +-------------------
 sound/soc/tegra/tegra210_admaif.c    |  6 --
 sound/soc/tegra/tegra_pcm.c          | 93 +--------------------------
 sound/soc/tegra/tegra_pcm.h          |  7 ---
 sound/x86/intel_hdmi_audio.c         |  2 +-
 29 files changed, 209 insertions(+), 871 deletions(-)

===

Cc: Banajit Goswami <bgoswami@codeaurora.org>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Xiubo Li <Xiubo.Lee@gmail.com>

-- 
2.26.2


             reply	other threads:[~2021-08-02  7:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02  7:28 Takashi Iwai [this message]
2021-08-02  7:28 ` [PATCH 01/15] ALSA: memalloc: Minor refactoring Takashi Iwai
2021-08-02  7:28 ` [PATCH 02/15] ALSA: memalloc: Correctly name as WC Takashi Iwai
2021-08-02  7:28 ` [PATCH 03/15] ALSA: pcm: Allow exact buffer preallocation Takashi Iwai
2021-08-02  7:28 ` [PATCH 04/15] ALSA: memalloc: Support WC allocation on all architectures Takashi Iwai
2021-08-02  7:28 ` [PATCH 05/15] ALSA: pxa2xx: Use managed PCM buffer allocation Takashi Iwai
2021-08-02  7:28 ` [PATCH 06/15] ASoC: bcm: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 07/15] ASoC: fsl: imx-pcm-fiq: Use managed " Takashi Iwai
2021-08-02  7:28 ` [PATCH 08/15] ASoC: fsl: imx-pcm-rpmsg: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 09/15] ASoC: tegra: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 10/15] ASoC: fsl_asrc_dma: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 11/15] ASoC: fsl_dma: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 12/15] ASoC: mpc5200: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 13/15] ASoC: qcom: lpass: " Takashi Iwai
2021-08-02  7:28 ` [PATCH 14/15] ASoC: qcom: qdsp6: " Takashi Iwai
2021-08-03  9:46   ` Srinivas Kandagatla
2021-08-02  7:28 ` [PATCH 15/15] ASoC: sprd: " Takashi Iwai
2021-08-02 11:18 ` [PATCH 00/15] ALSA: Improved WC memory handling Mark Brown
2021-08-04  7:43 ` Takashi Iwai

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=20210802072815.13551-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bgoswami@codeaurora.org \
    --cc=broonie@kernel.org \
    --cc=daniel@zonque.org \
    --cc=festevam@gmail.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=nicoleotsuka@gmail.com \
    --cc=robert.jarzmik@free.fr \
    --cc=shengjiu.wang@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.