Re: [PATCH v1 1/5] media: rkvdec: Disable H.264 error detection

From: Dmitry Osipenko
Date: Fri Jun 10 2022 - 09:26:38 EST


On 6/10/22 15:52, Nicolas Dufresne wrote:
> Quite often, the HW get stuck in error condition if a stream error
> was detected. As documented, the HW should stop immediately and self
> reset. There is likely a problem or a miss-understanding of the self
> self reset mechanism, as unless we make a long pause, the next command
> will then report an error even if there is no error in it.
>
> Disabling error detection fixes the issue, and let the decoder continue
> after an error. This patch is safe for backport into older kernels.
>
> Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver")
> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>
> ---

Nit: won't hurt to add the explicit stable tag if you'll make the v2.

Cc: stable@xxxxxxxxxxxxxxx

--
Best regards,
Dmitry