linux/drivers/media/platform/samsung
Smitha T Murthy d8a46bc4e1 media: s5p-mfc: Fix to handle reference queue during finishing
On receiving last buffer driver puts MFC to MFCINST_FINISHING state which
in turn skips transferring of frame from SRC to REF queue. This causes
driver to stop MFC encoding and last frame is lost.

This patch guarantees safe handling of frames during MFCINST_FINISHING and
correct clearing of workbit to avoid early stopping of encoding.

Fixes: af93574678 ("[media] MFC: Add MFC 5.1 V4L2 driver")

Cc: stable@vger.kernel.org
Cc: linux-fsd@tesla.com
Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-12-07 17:58:46 +01:00
..
exynos4-is media: platform: exynos4-is: Fix error handling in fimc_md_init() 2022-11-25 07:37:53 +00:00
exynos-gsc media: platform: exynos-gsc: fix typo in comment 2022-06-20 10:30:35 +01:00
s3c-camif media: mc: convert pipeline funcs to take media_pad 2022-09-24 09:22:30 +02:00
s5p-g2d media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
s5p-jpeg media: platform: samsung: s5p-jpeg: replace ternary operator with max() 2022-06-20 10:30:31 +01:00
s5p-mfc media: s5p-mfc: Fix to handle reference queue during finishing 2022-12-07 17:58:46 +01:00
Kconfig media: platform/*/Kconfig: make manufacturer menus more uniform 2022-03-18 05:58:35 +01:00
Makefile media: platform: Create vendor/{Makefile,Kconfig} files 2022-03-18 05:58:35 +01:00