[PATCH] media: meson: vdec: reset the VLD before H.264 decoding

Nicolas Dufresne nicolas.dufresne at collabora.com
Mon Nov 30 10:29:41 PST 2026


On Sat, 24 Oct 2026 18:44:36 +0100, John O'Callaghan wrote:
> The H.264 decoder outputs wrong luma until the second IDR picture of a
> stream. Chroma is correct. The top-left macroblocks of the first IDR
> picture hold garbage that is different on each run. Intra prediction
> spreads the error over the picture, and inter prediction carries it to
> the following pictures.
> 
> vdec_1_start() resets the VDEC1 blocks with DOS_SW_RESET0 before it
> powers on the VDEC memories with DOS_MEM_PD_VDEC. The VLD then starts
> in an undefined state. The vendor driver resets the VLD, IQIDCT and MC
> again in vh264_prot_init(), after the memories are on. This driver
> does not.
> 
> [...]

Applied, thanks!

[1/1] media: meson: vdec: reset the VLD before H.264 decoding
      commit: 5dd69896fe03765759439cc790874cd537385e1c

Best regards,
-- 
Nicolas Dufresne <nicolas.dufresne at collabora.com>



More information about the linux-arm-kernel mailing list