linux/drivers/media/platform/rcar-vin
Niklas Söderlund 736626df53 media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
[ Upstream commit e10707d586 ]

When adding proper support for V4L2_FIELD_ALTERNATE it was missed that
this field format should trigger an interrupt for each field, not just
for the whole frame. Fix this by marking it as progressive in the
capture setup, which will then select the correct interrupt mode.

Tested on both Gen2 and Gen3 with the result of a doubling of the frame
rate for V4L2_FIELD_ALTERNATE. From a PAL video source the frame rate is
now 50, which is expected for alternate field capture.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:32:20 +02:00
..
Kconfig
Makefile
rcar-core.c media: rcar-vin: Enable support for r8a77961 2021-06-02 13:26:31 +02:00
rcar-csi2.c media: rcar-csi2: Optimize the selection PHTW register 2022-01-27 11:05:19 +01:00
rcar-dma.c media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE 2023-06-09 10:32:20 +02:00
rcar-v4l2.c media: rcar-vin: Update format alignment constraints 2022-01-27 11:04:35 +01:00
rcar-vin.h