linux/Documentation
Robert Jarzmik 256b02332a V4L/DVB (11321): pxa_camera: Redesign DMA handling
The DMA transfers in pxa_camera showed some weaknesses in
multiple queued buffers context :
 - poll/select problem
   The bug shows up with capture_example tool from v4l2 hg
   tree. The process just "stalls" on a "select timeout".

 - multiple buffers DMA starting
   When multiple buffers were queued, the DMA channels were
   always started right away. This is not optimal, as a
   special case appears when the first EOF was not yet
   reached, and the DMA channels were prematurely started.

 - Maintainability
   DMA code was a bit obfuscated. Rationalize the code to be
   easily maintainable by anyone.

 - DMA hot chaining
   DMA is not stopped anymore to queue a buffer, the buffer
   is queued with DMA running. As a tribute, a corner case
   exists where chaining happens while DMA finishes the
   chain, and the capture is restarted to deal with the
   missed link buffer.

This patch attemps to address these issues / improvements.

 create mode 100644 Documentation/video4linux/pxa_camera.txt

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-06 21:43:45 -03:00
..
2008-10-30 11:38:45 -07:00
2007-07-19 10:04:47 -07:00
2008-02-14 00:16:13 -05:00
2008-10-16 11:21:30 -07:00
2008-04-25 13:27:03 +01:00
2009-04-01 08:59:33 -07:00
2008-02-03 15:54:28 +02:00
2009-04-01 08:59:21 -07:00
2009-03-30 21:46:43 +02:00
2009-03-30 15:21:59 +02:00
2009-01-06 17:21:00 +01:00
2008-10-30 11:38:47 -07:00
2009-01-14 21:42:51 +01:00
2009-03-30 21:55:26 +10:30
2008-01-11 18:22:30 -06:00
2007-05-09 08:57:56 +02:00
2009-04-02 00:33:39 -07:00
2008-10-30 11:38:45 -07:00
2008-10-16 11:21:29 -07:00
2008-04-29 02:49:47 -04:00
2006-11-30 04:58:40 +01:00
2009-03-24 16:20:36 -07:00
2008-10-30 11:38:45 -07:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2008-11-12 17:17:18 -08:00
2007-10-19 11:53:34 -07:00
2008-11-14 10:39:26 +11:00
2009-03-17 12:56:47 +01:00
2009-03-26 15:45:43 -07:00
2006-11-30 04:58:40 +01:00
2008-03-24 19:22:19 -07:00
2007-10-18 14:37:32 -07:00
2008-02-06 10:41:09 -08:00
2008-10-20 15:43:10 +02:00
2009-03-16 07:55:37 -07:00
2009-03-16 07:55:37 -07:00
2008-08-12 16:07:30 -07:00
2009-03-31 15:18:37 +11:00
2008-11-12 17:17:17 -08:00
2007-02-11 10:51:35 -08:00
2006-06-27 17:32:47 -07:00
2008-02-06 10:41:14 -08:00
2007-10-17 08:43:06 -07:00