On Wed, 31 Mar 2004, Russell King wrote:

> On Wed, Mar 31, 2004 at 09:44:45AM +0200, Jaroslav Kysela wrote:
> > I think that the consensus was that using "->nopage" callback does not
> > make much sense for the DMA pages so remap_page_coherent_range() should be
> > used for this case when designed.
> 
> The consensus was that ->nopage is fine to use IFF you have RAM-backed
> pages.  However, the choice of whether ->nopage is used or not is one
> that the architecture must make, and not the device driver.
> 
> This requires a dma_mmap_coherent() API for all architectures to
> implement.  However, I can not get anyone to even respond to agreeing
> what the API requires.
> 
> It's no good one architecture implementing one version of the API and
> others then deciding that they don't actually like it after all and
> needing a different API.

Yes, but if we have at least one API solving this problem, the successors 
should replace it completely. I think that it's much better solution than
having no way to support ARM or any other platforms with these problems in 
ALSA. If you come with a solution, then people not agreeing with you
have to propose/implement a better solution.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to