OSDN Git Service

media: hantro: vp8: Move noisy WARN_ON to vpu_debug
authorEzequiel Garcia <ezequiel@collabora.com>
Mon, 19 Jul 2021 20:52:33 +0000 (22:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 22 Jul 2021 06:40:38 +0000 (08:40 +0200)
commit6ad61a7847da09b6261824accb539d05bcdfef65
tree567fe5f68cc2d9917f3c3408a3f40359c7a285f6
parent131ae388b88e3daf4cb0721ed4b4cb8bfc201465
media: hantro: vp8: Move noisy WARN_ON to vpu_debug

When the VP8 decoders can't find a reference frame,
the driver falls back to the current output frame.

This will probably produce some undesirable results,
leading to frame corruption, but shouldn't cause
noisy warnings.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_g1_vp8_dec.c
drivers/staging/media/hantro/rockchip_vpu2_hw_vp8_dec.c