OpenCloudOS-Kernel/drivers/media/platform/ti
Tomi Valkeinen d91105e056 media: ti: cal: fix wdma irq for metadata
CAL HW interrupts are inherently racy. If we get both start and end
interrupts, we don't know what has happened: did the DMA for a single
frame start and end, or did one frame end and a new frame start?

Usually for normal pixel frames we get the interrupts separately. If
we do get both, we have to guess. The assumption in the code is that the
active vertical area is larger than the blanking vertical area, and thus
it is more likely that we get the end of the old frame and the start of
a new frame.

However, for embedded data, which is only a few lines high, we always
get both interrupts. Here the assumption is that we get both for the
same frame.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-08-30 14:27:05 +02:00
..
am437x media: platform: ti: avoid using 'videobuf' or 'video-buf' 2022-08-29 16:25:08 +02:00
cal media: ti: cal: fix wdma irq for metadata 2022-08-30 14:27:05 +02:00
davinci media: davinci: deprecate dm644x_ccdc, dm355_cddc and dm365_isif 2022-08-29 16:45:34 +02:00
omap media: ti/omap: fix repeated words in comments 2022-08-29 15:32:14 +02:00
omap3isp media: platform: ti: avoid using 'videobuf' or 'video-buf' 2022-08-29 16:25:08 +02:00
vpe media: platform: re-structure TI drivers 2022-03-18 05:58:35 +01:00
Kconfig media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00
Makefile media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00