Using the loop feature of the DMA controller on MPC8544 DS
linuxppc-embedded at ml.breakpoint.cc
Thu Mar 13 08:15:04 EST 2008
* Timur Tabi | 2008-03-12 15:49:50 [-0500]:
>Well, I need to solve this problem myself, but I wasn't planning on doing it for
>a while since I have a higher priority assignment at the moment. My 8610 sound
>driver does DMA all on its own and completely ignores Zhang's driver, so I need
>to fix that.
Ah okey. So you grab one DMA channel for yourself and you hope no one else
is going to use it?
Are you using lists descriptors or single transfers?
>Unfortunately, I'm not familiar with Zhang's driver at all (it's changed too
>much since I last looked at it), so I don't know what the *best* way is.
His driver uses DMA engine so you can't use the cool features / arch
>sound driver, I don't even know if I'll be able to leverage Zhang's driver at
>all, since I need to use a specific DMA channel, and I need to control each of
>the link descriptors. Zhang's driver abstracts DMA too much. So all I was
>going to do is come up with a way to reserve channels.
Welcome in my world :)
>Linux kernel developer at Freescale
More information about the Linuxppc-embedded