[PATCH v3 1/4] dmaengine: mmp-pdma support
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Aug 14 04:30:26 EDT 2012
Please consider looking at the virtual dma channel support, which I've
recently added. This removes the burden of managing the descriptor
lists from the driver, deals with the workqueues for completing
descriptors, etc.
All you need to do is to build the descriptors for the DMA operation,
manage the scheduling of virtual channels onto physical channels,
calculate the position of DMA, and starting off and handling the DMA
hardware.
"virtual dma channel support" is probably something of a misnomer though;
it can also be used for situations where there's a 1:1 binding between
virtual and physical dma channels (iow, no virtual channels at all.)
More information about the linux-arm-kernel
mailing list