Re: [PATCH v3 4/5] media: vcodec: Implement manual request completion

From: AngeloGioacchino Del Regno
Date: Wed Jun 11 2025 - 04:33:45 EST


Il 04/06/25 22:09, Nicolas Dufresne ha scritto:
From: Sebastian Fricke <sebastian.fricke@xxxxxxxxxxxxx>

Rework how requests are completed in the MediaTek VCodec driver, by
implementing the new manual request completion feature, which allows to
keep a request open while allowing to add new bitstream data.
This is useful in this case, because the hardware has a LAT and a core
decode work, after the LAT decode the bitstream isn't required anymore
so the source buffer can be set done and the request stays open until
the core decode work finishes.

Signed-off-by: Sebastian Fricke <sebastian.fricke@xxxxxxxxxxxxx>
Co-developed-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>