From: "Gerhard Pircher" <gerhard_pircher@gmx.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: linuxppc-dev@ozlabs.org, rlrevell@joe-job.com,
alsa-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
Date: Fri, 30 Jun 2006 20:21:44 +0200 [thread overview]
Message-ID: <20060630182144.27980@gmx.net> (raw)
In-Reply-To: <s5hwtaz9fdr.wl%tiwai@suse.de>
-------- Original-Nachricht --------
Datum: Fri, 30 Jun 2006 11:12:00 +0200
Von: Takashi Iwai <tiwai@suse.de>
An: Gerhard Pircher <gerhard_pircher@gmx.net>
Betreff: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
>
> What is the type of buffer are you using? If it's a buffer
> pre-allocated via snd_pcm_lib_preallocate*() with SNDRV_DMA_TYPE_DEV,
> there should be no snd_pcm_mmap_data_nopage call. For other types,
> there can be. For example, the patch still doesn't solve the problems
> with drivers using sg-buffer.
>
I added a debug output and it shows a buffer of SNDRV_DMA_TYPE_DEV_SG type. Well, then I'll hack the kernel to use the normal DMA allocation functions for ALSA instead of the non cache coherent ones and will wait until the ALSA core has been adapted for dma_mmap_coherent().
Or what would have to be done to get it working for SG buffers?
Thanks!
Gerhard
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
WARNING: multiple messages have this Message-ID (diff)
From: "Gerhard Pircher" <gerhard_pircher@gmx.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: linuxppc-dev@ozlabs.org, rlrevell@joe-job.com,
alsa-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
Date: Fri, 30 Jun 2006 20:21:44 +0200 [thread overview]
Message-ID: <20060630182144.27980@gmx.net> (raw)
In-Reply-To: <s5hwtaz9fdr.wl%tiwai@suse.de>
-------- Original-Nachricht --------
Datum: Fri, 30 Jun 2006 11:12:00 +0200
Von: Takashi Iwai <tiwai@suse.de>
An: Gerhard Pircher <gerhard_pircher@gmx.net>
Betreff: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
>
> What is the type of buffer are you using? If it's a buffer
> pre-allocated via snd_pcm_lib_preallocate*() with SNDRV_DMA_TYPE_DEV,
> there should be no snd_pcm_mmap_data_nopage call. For other types,
> there can be. For example, the patch still doesn't solve the problems
> with drivers using sg-buffer.
>
I added a debug output and it shows a buffer of SNDRV_DMA_TYPE_DEV_SG type. Well, then I'll hack the kernel to use the normal DMA allocation functions for ALSA instead of the non cache coherent ones and will wait until the ALSA core has been adapted for dma_mmap_coherent().
Or what would have to be done to get it working for SG buffers?
Thanks!
Gerhard
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
next prev parent reply other threads:[~2006-06-30 18:21 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-28 20:27 RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA? Gerhard Pircher
2006-06-28 20:27 ` Re: [Alsa-devel] " Gerhard Pircher
2006-06-28 20:27 ` Gerhard Pircher
2006-06-29 9:27 ` Takashi Iwai
2006-06-29 9:27 ` [Alsa-devel] " Takashi Iwai
2006-06-29 9:27 ` Takashi Iwai
2006-06-29 21:15 ` Gerhard Pircher
2006-06-29 21:15 ` [Alsa-devel] " Gerhard Pircher
2006-06-29 21:15 ` Gerhard Pircher
2006-06-30 9:12 ` Takashi Iwai
2006-06-30 9:12 ` [Alsa-devel] " Takashi Iwai
2006-06-30 9:12 ` Takashi Iwai
2006-06-30 18:21 ` Gerhard Pircher [this message]
2006-06-30 18:21 ` Gerhard Pircher
2006-10-19 13:24 ` [RFC] Porting AmigaOne platform code from ppc to powerpc Gerhard Pircher
2006-10-21 23:51 ` Benjamin Herrenschmidt
2006-10-23 18:57 ` Crash with highmem support enabled Gerhard Pircher
2006-10-25 5:34 ` Paul Mackerras
2006-10-25 7:45 ` Gerhard Pircher
-- strict thread matches above, loose matches on Subject: below --
2006-06-10 8:22 RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA? Gerhard Pircher
2006-06-12 10:51 ` Takashi Iwai
2006-06-12 10:51 ` Takashi Iwai
2006-06-12 10:51 ` Takashi Iwai
2006-06-12 14:42 ` Gerhard Pircher
2006-06-14 14:42 ` Takashi Iwai
2006-06-09 18:01 Gerhard Pircher
2006-06-10 0:34 ` Benjamin Herrenschmidt
2006-06-10 0:46 ` Lee Revell
2006-06-10 0:46 ` Lee Revell
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=20060630182144.27980@gmx.net \
--to=gerhard_pircher@gmx.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=rlrevell@joe-job.com \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.