Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: mjander@embedded.cl
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Scatter Gather DMA
Date: Wed, 05 Mar 2003 17:51:50 +0100	[thread overview]
Message-ID: <s5hptp5iwnt.wl@alsa2.suse.de> (raw)
In-Reply-To: <200303051209.AA33751384@embedded.cl>

At Wed,  5 Mar 2003 12:09:21 -0400,
mjander wrote:
> 
> Hi,
> 
> Another question... :)
> 
> The Aureal Vortex has Scatter Gather DMA's for each audio channel.
> But these SG DMA
> support only max 4 pages. Each page can have a programable size of
> upto 4 KB.
> I was studying the ALSA SG scheme and it doesnt seme to fit into
> the aureal vortex
> SG buffer scheme, because ALSA, as far as i understood, only
> allows pages of the kernel PAGE_SIZE size, and allocates as many
> pages (without cound limit ?) until the buffer size is  reached.

then you can define max_buffer_bytes as 4 * 4096.
then sg-allocator will allocate up to 4 pages.

> But the PAGE_SIZE around 0x400 or 0x800, which is rather small.

sorry, what are these numbers?

> On the Aureal vortex soundcard side i have 4 registers for page
> base address, and some sort  of config regs to configure each page
> size and the next page for each page. I just dont understand how
> could i plug this two apparently incompatible things together.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

      parent reply	other threads:[~2003-03-05 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 16:09 Scatter Gather DMA mjander 
2003-03-05 15:53 ` Jaroslav Kysela
2003-03-05 16:20   ` tomasz motylewski
2003-03-05 16:51 ` Takashi Iwai [this message]

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=s5hptp5iwnt.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mjander@embedded.cl \
    /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