[lkml]   [2008]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: dmaengine.c: question about device_alloc_chan_resources
Timur Tabi <> wrote:
> Haavard Skinnemoen wrote:
> > I guess so. What would be even more simple is to simply prevent other
> > clients from taking a channel once someone has acked it, which would be
> > perfect for my purposes, but perhaps not everyone else's...
> I'm not clear on how your driver works, but doesn't it run continuous tests on
> all channels all the time? If so, wouldn't your proposal prevent other drivers
> from ever getting a DMA channel?

You can explicitly tell it which channel(s) to use. If you run it on
all channels, it will already prevent any dmaslave clients from ever
getting a channel.

dmatest is meant for testing only, and has a major impact on system
performance when it's running, so it's IMO not a very interesting use


 \ /
  Last update: 2008-09-18 17:03    [W:0.077 / U:1.612 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site