]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: chips-media: wave5: Process ready frames when CMD_STOP sent to Encoder
authorBrandon Brnich <b-brnich@ti.com>
Tue, 21 Oct 2025 20:46:18 +0000 (15:46 -0500)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 5 Jan 2026 14:56:31 +0000 (15:56 +0100)
commit5da0380de41439ed64ed9a5218850db38544e315
tree0285ecf7a33bd1700b475f8931e995e7864ed367
parentb4e26c6fc1b3c225caf80d4a95c6f9fcbe959e17
media: chips-media: wave5: Process ready frames when CMD_STOP sent to Encoder

CMD_STOP being sent to encoder before last job is executed by device_run
can lead to an occasional dropped frame. Ensure that remaining ready
buffers are drained by making a call to v4l2_m2m_try_schedule.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c