All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Cc: Hans Hu <HansHu@zhaoxin.com>
Subject: [PATCH 0/8] ALSA: non-cached memalloc helper
Date: Mon, 27 Aug 2018 10:59:45 +0200	[thread overview]
Message-ID: <20180827085953.10614-1-tiwai@suse.de> (raw)

Hi,

this is a patchset to add the non-cached page handling in the memory
allocation helpers, which have been implemented individually in
several driver codes.  This also fixes a long-time bug of HD-audio
non-mmap behavior in the non-snoop mode, which was reported recently.


Takashi

===

Takashi Iwai (8):
  ALSA: memalloc: Don't align the size to power-of-two
  ALSA: memalloc: Simplify snd_malloc_dev_pages() calls
  ALSA: memalloc: Add non-cached buffer type
  ALSA: hda: Check the non-cached stream buffers more explicitly
  ALSA: hda: Use new non-cached allocation for non-snoop mode
  ALSA: hda: Remove substream allocation/free ops
  ALSA: intel8x0: Use the new non-cached allocation for 440MX workaround
  ALSA: intel_hdmi: Use the new non-cached allocation

 include/sound/memalloc.h       |   3 +
 sound/core/memalloc.c          |  40 ++++++++-----
 sound/core/sgbuf.c             |  15 ++++-
 sound/pci/hda/hda_controller.c |  13 +++--
 sound/pci/hda/hda_controller.h |   7 +--
 sound/pci/hda/hda_intel.c      | 103 ++++-----------------------------
 sound/pci/hda/hda_tegra.c      |  18 +-----
 sound/pci/intel8x0.c           |  89 ++++------------------------
 sound/x86/intel_hdmi_audio.c   |  29 +---------
 9 files changed, 75 insertions(+), 242 deletions(-)

-- 
2.18.0

             reply	other threads:[~2018-08-27  9:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27  8:59 Takashi Iwai [this message]
2018-08-27  8:59 ` [PATCH 1/8] ALSA: memalloc: Don't align the size to power-of-two Takashi Iwai
2018-08-27  8:59 ` [PATCH 2/8] ALSA: memalloc: Simplify snd_malloc_dev_pages() calls Takashi Iwai
2018-08-27  8:59 ` [PATCH 3/8] ALSA: memalloc: Add non-cached buffer type Takashi Iwai
2018-08-27  8:59 ` [PATCH 4/8] ALSA: hda: Check the non-cached stream buffers more explicitly Takashi Iwai
2018-08-27  8:59 ` [PATCH 5/8] ALSA: hda: Use new non-cached allocation for non-snoop mode Takashi Iwai
2018-08-27  8:59 ` [PATCH 6/8] ALSA: hda: Remove substream allocation/free ops Takashi Iwai
2018-08-27  8:59 ` [PATCH 7/8] ALSA: intel8x0: Use the new non-cached allocation for 440MX workaround Takashi Iwai
2018-08-27  8:59 ` [PATCH 8/8] ALSA: intel_hdmi: Use the new non-cached allocation 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=20180827085953.10614-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=HansHu@zhaoxin.com \
    --cc=alsa-devel@alsa-project.org \
    /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.