mbox series

[0/8] ALSA: non-cached memalloc helper

Message ID 20180827085953.10614-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: non-cached memalloc helper | expand

Message

Takashi Iwai Aug. 27, 2018, 8:59 a.m. UTC
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(-)