2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 22:54:11 +08:00
linux-next/sound/soc/sof/intel
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
..
apl.c ASoC: SOF: Intel: implement runtime idle for CNL/APL 2019-07-06 12:23:47 +01:00
bdw.c ASoC: SOF: fix DSP oops definitions in FW ABI 2019-06-03 17:56:38 +01:00
byt.c Merge branch 'asoc-5.2' into asoc-5.3 2019-06-03 18:38:15 +01:00
cnl.c ASoC: SOF: Intel: implement runtime idle for CNL/APL 2019-07-06 12:23:47 +01:00
hda-bus.c ALSA: hda: Remove page allocation redirection 2019-08-08 16:34:49 +02:00
hda-codec.c ASoC: SOF: Intel: Add support for HDAudio codecs 2019-04-28 02:51:27 +09:00
hda-ctrl.c ASoC: SOF: Intel: hda: clear stream status and wakests properly 2019-06-17 13:45:50 +01:00
hda-dai.c ASoC: SOF: Intel: hda: reserve host DMA channel for hostless streams 2019-06-17 13:43:22 +01:00
hda-dsp.c ASoC: SOF: Intel: implement runtime idle for CNL/APL 2019-07-06 12:23:47 +01:00
hda-ipc.c ASoC: SOF: Intel: ipc: don't check for HIPCCTL register value 2019-06-03 17:49:17 +01:00
hda-loader.c ASoC: SOF: Intel: hda: set I2S slave before enabling DSP 2019-05-03 14:58:11 +09:00
hda-pcm.c ASoC: SOF: Intel: hda-pcm: remove useless dependency on hdac_ext 2019-05-03 14:58:48 +09:00
hda-stream.c ASoC: SOF: Intel: hda: make sure RUN bit setting to 0 during clear stream status 2019-06-17 13:46:22 +01:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
hda.h ASoC: SOF: add runtime idle callback 2019-07-06 12:23:24 +01:00
intel-ipc.c ASoC: SOF: Intel: Add legacy IPC support 2019-04-28 02:50:40 +09:00
Kconfig Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
shim.h ASoC: SOF: Intel: hda: add SSP info to the chip info struct 2019-05-03 14:57:39 +09:00