solo6x10: Conversion to videobuf-dma-sg (from dma-cont)
authorBen Collins <bcollins@bluecherry.net>
Fri, 5 Nov 2010 02:51:17 +0000 (22:51 -0400)
committerBen Collins <bcollins@bluecherry.net>
Fri, 5 Nov 2010 02:51:17 +0000 (22:51 -0400)
commitf62de9be26ce2144ad0dcf292727e4f58577d401
tree456a8c7b6a9542f6d73c670270bae0faad82fd2d
parent1194cf4308d786c69b808ec3aa8704d01d130e94
solo6x10: Conversion to videobuf-dma-sg (from dma-cont)

Full rewrite of the P2M DMA Engine to support scatter gather and take
advantage of some of the features of the hardware. This includes using
repeat DMA operations and line-mode transfers (for copying OSG and
video display buffers).

What isn't working: For some reason, descriptor mode is not working. I've
implemented a psuedo version (still has one-interrupt per DMA operation),
but we would get huge improvements if we could hand off a ring of
descriptors to the P2M and get back one interrupt when it was done with
all of them.

Documentation is very vague on this, and even the ODM example code
half attempts to get it right, but comments it out of the driver
because it just doesn't work *sigh*

Converts all v4l2 to dma-sg. So long slow dma-contiguous, but hello
more interrupts :(

Signed-off-by: Ben Collins <bcollins@bluecherry.net>
drivers/staging/solo6x10/Kconfig
drivers/staging/solo6x10/solo6010-core.c
drivers/staging/solo6x10/solo6010-disp.c
drivers/staging/solo6x10/solo6010-gpio.c
drivers/staging/solo6x10/solo6010-i2c.c
drivers/staging/solo6x10/solo6010-p2m.c
drivers/staging/solo6x10/solo6010-v4l2-enc.c
drivers/staging/solo6x10/solo6010-v4l2.c
drivers/staging/solo6x10/solo6010.h