[PATCH v17 08/12] media: mediatek: jpeg: fix remove buffer removal timing for multi-core

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Sep 22 04:39:58 PDT 2026


On 9/22/26 11:15, Kyrie Wu wrote:
> Move calls to v4l2_m2m_src/dst_buf_remove() inside of the spinlock
> protected scope to ensure all necessary operations are performed
> before buffers are removed from their queues and ensure proper
> synchronization of buffer handling to avoid buffer lost.
> 
> Fixes: 86379bd9d399 ("media: mtk-jpeg: Fixes jpeg enc&dec worker sw flow")
> Signed-off-by: Kyrie Wu <kyrie.wu at mediatek.com>
> Reviewed-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the linux-arm-kernel mailing list