At Tue, 02 Mar 2004 11:16:33 +0100 (CET),
Giuliano Pochini wrote:
>
>
> On 02-Mar-2004 Manuel Jander wrote:
>
> >> Yes. Every driver using SG must do this. Look into bt87x.c or
> >> via82xx.c for examples.
> >
> > Well, i guess in that case the period size loses any relevance in
> > terms of
On 02-Mar-2004 Manuel Jander wrote:
>> Yes. Every driver using SG must do this. Look into bt87x.c or
>> via82xx.c for examples.
>
> Well, i guess in that case the period size loses any relevance in
> terms of efficiency.
Efficiency about what ? If the hardware can be programmed to use
any pe
On Tue, 2 Mar 2004, Manuel Jander wrote:
> By the way, is it really really necesary that "snd_pcm_period_elapsed()"
> is called exactly when one period has been playback ? Must that callback
> be called for every period ?
> After looking at the bt87x driver it seems that it doesn't matter after
>
Hi,
On Mon, 2004-03-01 at 08:52, Clemens Ladisch wrote:
> Manuel Jander wrote:
> > AFAIK, it seems that when using a scatter gather buffer, not every
> > period is located inside of a page. ...
> > The problem is that a DMA transfer can not go accross 2 different pages.
> > On Aureal hardware, eve
Manuel Jander wrote:
> AFAIK, it seems that when using a scatter gather buffer, not every
> period is located inside of a page. ...
> The problem is that a DMA transfer can not go accross 2 different pages.
> On Aureal hardware, even on contiguous buffers this causes all sort of
> odd problems. Eac
Hi,
AFAIK, it seems that when using a scatter gather buffer, not every
period is located inside of a page. If for example i use a period size
of 3000 bytes and a Scatter Gather buffer, i would have this:
pages : page0, page1, page2 ...
periods: p0, p1, p2, p3, p4 ...
|...page0...||...page1...||.
Hello,
Thanks,
>> >offset = 0; /* bytes */
>> >while (offset < total_size) {
>> >dma_addr_t addr = snd_sgbuf_get_addr(sgbuf, offset);
>> >map_this_addr_to_my_hw_table(addr);
>> >offset += 4096; /* 4k */
>>
If PAGE_SIZE is never less than 4k then the
On Fri, 10 Oct 2003, Takashi Iwai wrote:
> At Fri, 10 Oct 2003 13:57:10 +0200 (CEST),
> Jaroslav wrote:
> >
> > On Fri, 10 Oct 2003, Takashi Iwai wrote:
> >
> > > At Fri, 10 Oct 2003 11:03:36 +0200 (CEST),
> > > [EMAIL PROTECTED] wrote:
> > > >
> > > > Hello,
> > > >
> > > >
> > > > the hdsp-madi
At Fri, 10 Oct 2003 13:57:10 +0200 (CEST),
Jaroslav wrote:
>
> On Fri, 10 Oct 2003, Takashi Iwai wrote:
>
> > At Fri, 10 Oct 2003 11:03:36 +0200 (CEST),
> > [EMAIL PROTECTED] wrote:
> > >
> > > Hello,
> > >
> > >
> > > the hdsp-madi card with the hdspm driver seems to work now.
> > > so I want do
On Fri, 10 Oct 2003, Takashi Iwai wrote:
> At Fri, 10 Oct 2003 11:03:36 +0200 (CEST),
> [EMAIL PROTECTED] wrote:
> >
> > Hello,
> >
> >
> > the hdsp-madi card with the hdspm driver seems to work now.
> > so I want do a clean out of the code:
> >
> > I asking how should I do this:
> >
> > > > at le
At Fri, 10 Oct 2003 11:03:36 +0200 (CEST),
[EMAIL PROTECTED] wrote:
>
> Hello,
>
>
> the hdsp-madi card with the hdspm driver seems to work now.
> so I want do a clean out of the code:
>
> I asking how should I do this:
>
> > > at least I have to allocate one page more = 4194304+4096, to get n
At Tue, 7 Oct 2003 18:25:50 +0200,
Winfried Ritsch wrote:
>
>
> Thanx that cleared a lot.
>
> So I managed now to put it in hw_params and it works in some way.
> needed an additional
>
> There is one point I found:
>
> - when I preallocate with for playback and capture
>2*4194304 = 8388
Thanx that cleared a lot.
So I managed now to put it in hw_params and it works in some way.
needed an additional
There is one point I found:
- when I preallocate with for playback and capture
2*4194304 = 8388608 Bytes:
snd_pcm_lib_preallocate_sg_pages_for_all(hdspm->pci, pcm,8388608,8388
At Mon, 06 Oct 2003 19:19:08 +0200 (CEST),
[EMAIL PROTECTED] wrote:
>
> Thanx that cleared a lot.
>
> I thought so,
>
> since I want to allocate once and then leave it, (because I dont want an exlusiv
> use of capture and playback ...)
>
> Please three more questions:
>
> 1) I found also the
Thanx that cleared a lot.
I thought so,
since I want to allocate once and then leave it, (because I dont want an exlusiv
use of capture and playback ...)
Please three more questions:
1) I found also the function:
snd_malloc_sgbuf_pages(hdspm->pci, wanted, dmab)
Can I allocate memory with th
At Sun, 5 Oct 2003 21:01:58 +0200 (CEST),
Jaroslav wrote:
>
> On Sat, 4 Oct 2003, Winfried Ritsch wrote:
>
> >
> > Hello !
> >
> > (A question from an newbie-developer to make it perfect ;-)
> >
> > I am writing an ALSA-lowleveldriver for the RME HDSP-MADI card.
> > (which have 64Audion in and ou
On Sat, 4 Oct 2003, Winfried Ritsch wrote:
>
> Hello !
>
> (A question from an newbie-developer to make it perfect ;-)
>
> I am writing an ALSA-lowleveldriver for the RME HDSP-MADI card.
> (which have 64Audion in and out and an 128in64(= 8192Fader) Mixer
> see http://www.rme-audio.de/hdsp/hdspmadi
Hello !
(A question from an newbie-developer to make it perfect ;-)
I am writing an ALSA-lowleveldriver for the RME HDSP-MADI card.
(which have 64Audion in and out and an 128in64(= 8192Fader) Mixer
see http://www.rme-audio.de/hdsp/hdspmadi.htm ) Coding is quite
complete but I have trouble with t
At Mon, 17 Mar 2003 16:12:24 -0400,
mjander wrote:
>
> hi,
>
> >
> >i'm not sure how the aureal driver works. IIRC, it can use up to 4 x
> >4k pages, right? if its size is really only 4 pages, i'd
> recommend to
> >use a simple phyically linear buffer.
> >
> >
> >Takashi
> >
>
> In the meanwhi
At Sun, 16 Mar 2003 03:10:15 -0400,
Manuel Jander wrote:
>
> Hello,
>
> I'm writing Scatter Gather support for the Aureal Vortex,
> and the problem is that i get period sizes that dont match
> the page size. That is not so bad, but the page count doesnt
> match the period count either.
>
> How a
Hello,
I'm writing Scatter Gather support for the Aureal Vortex,
and the problem is that i get period sizes that dont match
the page size. That is not so bad, but the page count doesnt
match the period count either.
How are the pages mapped on the buffer ?? I dont see any chance
that could work. W
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 an
> I don't see a problem here. The PAGE_SIZE is 4kB for i386. Simply
> follow the code in the via82xx driver and limit the maximum count of
> periods to 4.
This is easy solution, but a bit limiting. For example cs4281 supports max 2
periods. It is rather hard to work with it. There is a patch for
On Wed, 5 Mar 2003, 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 t
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
25 matches
Mail list logo