linux_dsm_epyc7002/drivers/media
Niklas Söderlund dc9aec795f media: rcar-vin: use scratch buffer and always run in continuous mode
Instead of switching capture mode depending on how many buffers are
available use a scratch buffer and always run in continuous mode. By
using a scratch buffer the responsiveness of the capture loop is
increased as it can keep running even if there are no buffers available
from userspace.

As soon as a userspace queues a buffer it is inserted into the capture
loop and returned as soon as it is filled. This is a improvement on the
previous logic where the whole capture loop was stopped and switched to
single capture mode if userspace did not feed the VIN driver buffers at
the same time it consumed them. To make matters worse it was difficult
for the driver to reenter continuous mode if it entered single mode even
if userspace started to queue buffers faster. This resulted in
suboptimal performance where if userspace where delayed for a short
period the ongoing capture would be slowed down and run in single mode
until the capturing process where restarted.

An additional effect of this change is that the capture logic can be
made much simple as we know that continuous mode will always be used.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-22 06:24:05 -04:00
..
cec media: cec: improve debugging 2018-02-26 08:12:49 -05:00
common media: siano: Fix coherent memory allocation failure on arm64 2018-03-06 12:46:15 -05:00
dvb-core media: dvbdev: fix building on ia64 2018-03-07 04:11:50 -05:00
dvb-frontends media: af9013: add pid filter support 2018-03-21 14:11:54 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: i2c: mt9t112: Remove soc_camera dependencies 2018-03-21 15:29:07 -04:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: ngene: avoid unused variable warning 2018-03-22 06:17:40 -04:00
platform media: rcar-vin: use scratch buffer and always run in continuous mode 2018-03-22 06:24:05 -04:00
radio media: radio: Critical interrupt bugfix for si470x over i2c 2018-03-21 12:00:02 -04:00
rc media: rc: mceusb: pid 0x0609 vid 0x031d does not under report carrier cycles 2018-03-21 14:03:03 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: add tuner standby op, use where needed 2018-03-21 12:05:39 -04:00
usb media: af9015: correct some coding style issues 2018-03-21 14:16:32 -04:00
v4l2-core media: add tuner standby op, use where needed 2018-03-21 12:05:39 -04:00
Kconfig media: Kconfig: fix DVB dependencies 2018-03-08 06:06:49 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00