]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: Using firmware type to separate different firmware architecture
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 12 May 2022 02:19:35 +0000 (04:19 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:41:17 +0000 (14:41 +0200)
commite2bd1b36c2f92a54a497025925d0964796abbd6d
treebfb194bcdb0280a4ab442c5c8400851e1b684c70
parente0fb0d2b798c0149d1a98dcfcd97436f615cb613
media: mediatek: vcodec: Using firmware type to separate different firmware architecture

MT8173 platform use vpu firmware, mt8183/mt8192 will use scp
firmware instead, using chip name is not reasonable to separate
different firmware architecture. Using firmware type is much better.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Tzung-Bi Shih<tzungbi@google.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.h
drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c
drivers/media/platform/mediatek/vcodec/venc_vpu_if.c