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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:20 +0000 (13:40 +0200)
commitc6e5eebd95406f08298b80543323b7e32e45f58f
tree96fe35bb8169a616f3c3c9acacd068419a4fc9e2
parentf462a39eb8334b52e332cc0cbffb705660b7d87b
media: hantro: vp8: Move noisy WARN_ON to vpu_debug

[ Upstream commit 6ad61a7847da09b6261824accb539d05bcdfef65 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/hantro/hantro_g1_vp8_dec.c
drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c