diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-11-16 08:33:58 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-11-16 08:34:29 +0100 |
commit | 2c95b92ecd92e784785b1db8cccc4f0f2bfa850c (patch) | |
tree | 5197cc151faa5bd6e9d02366f39cd0d2534c8570 /include/sound/aci.h | |
parent | 7206998f578d5553989bc01ea2e544b622e79539 (diff) | |
download | linux-2c95b92ecd92e784785b1db8cccc4f0f2bfa850c.tar.bz2 |
ALSA: memalloc: Unify x86 SG-buffer handling (take#3)
This is a second attempt to unify the x86-specific SG-buffer handling
code with the new standard non-contiguous page handler.
The first try (in commit 2d9ea39917a4) failed due to the wrong page
and address calculations, hence reverted. (And the second try failed
due to a copy&paste error.) Now it's corrected with the previous fix
for noncontig pages, and the proper sg page iteration by this patch.
After the migration, SNDRV_DMA_TYPE_DMA_SG becomes identical with
SNDRV_DMA_TYPE_NONCONTIG on x86, while others still fall back to
SNDRV_DMA_TYPE_DEV.
Tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tested-by: Harald Arnesen <harald@skogtun.org>
Link: https://lore.kernel.org/r/20211017074859.24112-4-tiwai@suse.de
Link: https://lore.kernel.org/r/20211109062235.22310-1-tiwai@suse.de
Link: https://lore.kernel.org/r/20211116073358.19741-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/aci.h')
0 files changed, 0 insertions, 0 deletions