mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: wbrana@gmail.com
To: linux-kernel@vger.kernel.org
Subject: [PATCH] snd-hda-intel: fix insufficient memory
Date: Tue, 21 Nov 2006 21:33:29 +0100	[thread overview]
Message-ID: <a769871e0611211233n20eb9d74j661cd73e9315fade@mail.gmail.com> (raw)

Module allocates insufficient memory for multichannel and high quality
audio (96 kHz, 24 bit)
Patch for 2.6.19-* changes default/maximal size from 64/128 to 256/4096 kB.

--- sound/pci/hda/hda_intel.c.orig      2006-09-29 13:40:36.000000000 +0200
+++ sound/pci/hda/hda_intel.c   2006-11-05 16:45:13.000000000 +0100
@@ -1270,5 +1270,5 @@
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
                                              snd_dma_pci_data(chip->pci),
-                                             1024 * 64, 1024 * 128);
+                                             1024 * 256, 1024 * 4096);
        chip->pcm[pcm_dev] = pcm;
        if (chip->pcm_devs < pcm_dev + 1)

             reply	other threads:[~2006-11-21 20:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 20:33 wbrana [this message]
2006-11-22  6:46 ` Andrew Morton
2006-11-22 15:02   ` [RCU] adds a prefetch() in rcu_do_batch() Eric Dumazet
2006-11-22 17:48     ` [PATCH] dont insert pipe dentries into dentry_hashtable Eric Dumazet
2006-11-22 21:36       ` Andrew Morton
2006-11-22 21:40         ` Al Viro
2006-11-23  4:12         ` David Miller
2006-11-30  1:25     ` [RCU] adds a prefetch() in rcu_do_batch() Paul E. McKenney
2006-11-30  8:55       ` Eric Dumazet
2006-11-30 17:15         ` Paul E. McKenney
2006-11-22 17:19   ` [PATCH] snd-hda-intel: fix insufficient memory wbrana
2006-11-22 20:04     ` Andrew Morton
2006-11-23 20:17       ` wbrana
2006-11-23 21:10         ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a769871e0611211233n20eb9d74j661cd73e9315fade@mail.gmail.com \
    --to=wbrana@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®