]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc285ca1c685b32c0e505d57ec47ea0fdb5b0388c
treebb1a1fe08eb117d53a5d575cdd8a1515a27043a8
parent340388ff113e36e62a8dd527226274e2da0f201c
media: hantro: Fix RK3399 H.264 format advertising

Commit ae65bcea48a66 ("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: ae65bcea48a66 ("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