lkml.org 
[lkml]   [2006]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ALSA on MIPS platform
At Fri, 27 Jan 2006 00:29:25 +0900 (JST),
Atsushi Nemoto wrote:
>
> >>>>> On Wed, 25 Jan 2006 20:03:13 +0100, Takashi Iwai <tiwai@suse.de> said:
>
> tiwai> The right fix is, IMO, to port dma_mmap_coherent() to all
> tiwai> archs. Currently, it's only on ARM.
>
> Thanks. Is this solve both issue #1 and #2 ?

Yes. In theory, dma_alloc_coherent() and dma_mmap_coherent() should
cover all the magic each arch requires.

> The most part of issue #1 will vanish if NEED_RESERVE_PAGES was
> defined, and currently only ARM define this. ARM defines
> NEED_RESERVE_PAGES because it has dma_mmap_coherent(), right?

Well, the whole page-reserve kludge should disappear anyway in near
future. Right now it's in the process.

The memory allocation stuff in ALSA is being largely rewritten on my
local tree, but it's not released yet. One reason is to wait for the
finish of page-reserve removals, and another reason is that I've had
little time to tidy them up :)

--
Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-26 16:57    [W:0.136 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site