lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] dw_dmac: set CAP_PRIVATE capability for DW DMA controller
Hans-Christian Egtvedt wrote:
> The weird part was that when testing this, the dma_request_channel()
> would not return any channel before DMA_PRIVATE flag was set. I think I
> did this some time ago, I can do a retest with the current 2.6.29 and
> see how it behaves.
>

If CONFIG_NET_DMA=y then available channels will be consumed for
'public' usage. I would turn that option off for AVR32 as it hurts
performance on dma-incoherent archs like ARM. Async_tx will also
consume public channels if loaded. 2.6.30 will have the
CONFIG_ASYNC_TX_DMA option to turn off this allocation... or just set
DMA_PRIVATE and not worry these :-).

--
Dan


\
 
 \ /
  Last update: 2009-04-01 07:33    [W:0.071 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site