media: hantro: Fix RK3399 H.264 format advertising
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Wed, 29 Jun 2022 19:56:23 +0000 (20:56 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 17:16:37 +0000 (18:16 +0100)
commit177d841fa19542eb35aa5ec9579c4abb989c9255
treebb1a1fe08eb117d53a5d575cdd8a1515a27043a8
parent6d9c9fbd35dc38933c3e155121b28c67230d93d8
media: hantro: Fix RK3399 H.264 format advertising

Commit 1f82f2df523cb ("media: hantro: Enable H.264 on Rockchip VDPU2")
enabled H.264 on some SoCs with VDPU2 cores. This had the side-effect
of exposing H.264 coded format as supported on RK3399.

Fix this and clarify how the codec is explicitly disabled on RK3399 on
this driver.

Fixes: 1f82f2df523cb ("media: hantro: Enable H.264 on Rockchip VDPU2")
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/rockchip_vpu_hw.c