linux/drivers/media
Niklas Söderlund 015060cb77 media: rcar-vin: enable field toggle after a set number of lines for Gen3
The VIN Gen3 hardware don't have Line Post-Clip capabilities as VIN Gen2
hardware have. To protect against writing outside the capture window
enable field toggle after a set number of lines have been captured.

Capturing outside the allocated capture buffer where observed on R-Car
Gen3 Salvator-XS H3 from the CVBS input if the standard is
misconfigured. That is if a PAL source is connected to the system but
the adv748x standard is set to NTSC. In this case the format reported by
the adv748x is 720x480 and that is what is used for the media pipeline.
The PAL source generates frames in the format of 720x576 and the field
is not toggled until the VSYNC is detected and at that time data have
already been written outside the allocated capture buffer.

With this change the capture in the situation described above results in
garbage frames but that is far better then writing outside the capture
buffer.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-05 10:28:17 -04:00
..
cec media: rc: per-protocol repeat period and minimum keyup timer 2018-04-20 09:16:55 -04:00
common media: lgdt330x: convert it to the new I2C binding way 2018-05-04 11:09:26 -04:00
dvb-core media: dvb_net: fix dvb_net_tx()'s return type 2018-05-05 10:21:40 -04:00
dvb-frontends media: lgdt3306a: fix lgdt3306a_search()'s return type 2018-05-05 10:21:17 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: i2c: tvp5150: Fix open brace placement codding style 2018-05-04 15:51:49 -04:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: cx88: Get rid of spurious call to cx8800_start_vbi_dma() 2018-05-05 10:25:20 -04:00
platform media: rcar-vin: enable field toggle after a set number of lines for Gen3 2018-05-05 10:28:17 -04:00
radio media: radio: allow building ISA drivers with COMPILE_TEST 2018-05-04 09:08:16 -04:00
rc media: rc: allow build pnp-dependent drivers with COMPILE_TEST 2018-05-04 09:47:45 -04:00
spi media: cxd2880-spi: avoid out-of-bounds access warning 2018-05-04 11:27:00 -04:00
tuners media: tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner 2018-05-05 07:21:09 -04:00
usb media: cx231xx: remove a now unused var 2018-05-05 08:55:29 -04:00
v4l2-core media: v4l2-dev: use pr_foo() for printing messages 2018-05-04 16:02:25 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile
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