]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: amphion: Drop min_queued_buffers assignment
authorMing Qian <ming.qian@oss.nxp.com>
Tue, 23 Dec 2025 06:27:52 +0000 (14:27 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 08:41:59 +0000 (09:41 +0100)
commit5633ec763a2a18cef6c5ac9250e4f4b8786e7999
tree39bfe8a8d21b4767ff3cacbc5cadac8ce0544f9f
parentd79c2165a48e87fc21136c323cb7822da69f8691
media: amphion: Drop min_queued_buffers assignment

The min_queued_buffers field controls when start_streaming() is called
by the vb2 core (it delays the callback until at least N buffers are
queued). Setting it to 1 affects the timing of start_streaming(), which
breaks the seek flow in decoder scenarios and causes test failures.

The current driver implementation does not rely on this minimum buffer
requirement and handles streaming start correctly with the default
value of 0, so remove these assignments.

Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support")
Cc: stable@vger.kernel.org
Signed-off-by: Ming Qian <ming.qian@oss.nxp.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/amphion/vpu_v4l2.c