linux_dsm_epyc7002/sound/soc/intel/skylake
Takashi Iwai 619a1f195f ALSA: hda: Remove page allocation redirection
The HD-audio core allocates and releases pages via driver's specific
dma_alloc_pages and dma_free_pages ops defined in bus->io_ops.  This
was because some platforms require the uncached pages and the handling
of page flags had to be done locally in the driver code.

Since the recent change in ALSA core memory allocator, we can simply
pass SNDRV_DMA_TYPE_DEV_UC for the uncached pages, and the only
difference became about this type to be passed to the core allocator.
That is, it's good time for cleaning up the mess.

This patch changes the allocation code in HD-audio core to call the
core allocator directly so that we get rid of dma_alloc_pages and
dma_free_pages io_ops.  If a driver needs the uncached pages, it has
to set bus->dma_type right after the bus initialization.

This is merely a code refactoring and shouldn't bring any behavior
changes.

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-08-08 16:34:49 +02:00
..
bxt-sst.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
cnl-sst-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
cnl-sst-dsp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
cnl-sst.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
Makefile ASoC: Intel: Skylake: Add ssp clock driver 2018-01-26 12:51:21 +00:00
skl-debug.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-messages.c ALSA: hda: Remove page allocation redirection 2019-08-08 16:34:49 +02:00
skl-nhlt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-nhlt.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-pcm.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-ssp-clk.c ASoC: Intel: Skylake: Fix NULL ptr dereference when unloading clk dev 2019-06-25 15:33:21 +01:00
skl-ssp-clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-sst-cldma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-cldma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-dsp.h Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-sst-ipc.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-sst-ipc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-utils.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-sst.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-topology.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl-topology.h Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
skl.c Merge branch 'asoc-5.3' into asoc-next 2019-07-06 12:25:26 +01:00
skl.h Merge branch 'asoc-5.3' into asoc-next 2019-07-06 12:25:26 +01:00