[PATCH] [UBUNTU:sound/pci/hda/] Increase max DMA buffer size to 1024 MB to support multichannel audio
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Sun Oct 8 01:56:50 UTC 2006
From 7f2045c68a3578dd61afec2c2585986fbc22ff1c Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Sat, 7 Oct 2006 20:52:33 -0400
Subject: [PATCH] [UBUNTU:sound/pci/hda/] Increase max DMA buffer size to 1024 MB to support multichannel
UpstreamStatus: Added in upstream alsa-kernel hg changeset:
1551b696524c [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=1551b696524c81b2f5cfb7dc022dc1e47f29fa8a;style=raw]
Reference: ALSA #2481
This commit from Jaroslav Kysela allows multichannel audio to be
properly supported by a maximum DMA buffer size of 1024 MB.
This commit is applicable to both Dapper and Edgy linux-source.
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
sound/pci/hda/hda_intel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 81186e0..b855942 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1247,7 +1247,7 @@ static int __devinit create_codec_pcm(az
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &azx_pcm_ops);
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
snd_dma_pci_data(chip->pci),
- 1024 * 64, 1024 * 128);
+ 1024 * 64, 1024 * 1024);
chip->pcm[pcm_dev] = pcm;
if (chip->pcm_devs < pcm_dev + 1)
chip->pcm_devs = pcm_dev + 1;
--
1.4.1
--
Daniel T. Chen crimsun at ubuntu.com
GPG key: 0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20061007/0c97d015/attachment.sig>
More information about the kernel-team
mailing list