linux/drivers/media/video/s5p-tv
Marek Szyprowski bd323e28bd [media] media: vb2: change queue initialization order
This patch changes the order of operations during stream on call. Now the
buffers are first queued to the driver and then the start_streaming method
is called.

This resolves the most common case when the driver needs to know buffer
addresses to enable dma engine and start streaming. Additional parameter
to start_streaming method have been added to simplify drivers code. The
driver are now obliged to check if the number of queued buffers is high
enough to enable hardware streaming. If not - it can return an error. In
such case all the buffers that have been pre-queued are invalidated.

This patch also updates all videobuf2 clients to work properly with the
changed order of operations.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
CC: Hans Verkuil <hverkuil@xs4all.nl>
CC: Tomasz Stanislawski <t.stanislaws@samsung.com>
CC: Sylwester Nawrocki <s.nawrocki@samsung.com>
CC: Kamil Debski <k.debski@samsung.com>
CC: Jonathan Corbet <corbet@lwn.net>
CC: Josh Wu <josh.wu@atmel.com>
CC: Hans de Goede <hdegoede@redhat.com>
CC: Paul Mundt <lethal@linux-sh.org>
Tested-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-09-06 15:07:20 -03:00
..
hdmi_drv.c
hdmiphy_drv.c
Kconfig [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
Makefile [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
mixer_drv.c [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
mixer_grp_layer.c [media] media: vb2: dma contig allocator: use dma_addr instread of paddr 2011-09-06 15:05:10 -03:00
mixer_reg.c [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
mixer_video.c [media] media: vb2: change queue initialization order 2011-09-06 15:07:20 -03:00
mixer_vp_layer.c [media] media: vb2: dma contig allocator: use dma_addr instread of paddr 2011-09-06 15:05:10 -03:00
mixer.h [media] media: vb2: change queue initialization order 2011-09-06 15:07:20 -03:00
regs-hdmi.h
regs-mixer.h [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
regs-sdo.h
regs-vp.h [media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform 2011-07-27 17:56:01 -03:00
sdo_drv.c