bf1d556ad4
MT8183's codec firmware is run by a different remote processor from MT8173. While the firmware interface is basically the same, the way to invoke it differs. Abstract all firmware calls under a layer that will allow us to handle both firmware types transparently. [acourbot: refactor, cleanup and split] [pihsun: fix error path and add mtk_vcodec_fw_release] [hverkuil: fixed some checkpatch alignment warnings] [hverkuil: fixed merge conflicts] Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com> Co-developed-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
28 lines
607 B
Makefile
28 lines
607 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dec.o \
|
|
mtk-vcodec-enc.o \
|
|
mtk-vcodec-common.o
|
|
|
|
mtk-vcodec-dec-y := vdec/vdec_h264_if.o \
|
|
vdec/vdec_vp8_if.o \
|
|
vdec/vdec_vp9_if.o \
|
|
mtk_vcodec_dec_drv.o \
|
|
vdec_drv_if.o \
|
|
vdec_vpu_if.o \
|
|
mtk_vcodec_dec.o \
|
|
mtk_vcodec_dec_pm.o \
|
|
|
|
mtk-vcodec-enc-y := venc/venc_vp8_if.o \
|
|
venc/venc_h264_if.o \
|
|
mtk_vcodec_enc.o \
|
|
mtk_vcodec_enc_drv.o \
|
|
mtk_vcodec_enc_pm.o \
|
|
venc_drv_if.o \
|
|
venc_vpu_if.o \
|
|
|
|
|
|
mtk-vcodec-common-y := mtk_vcodec_intr.o \
|
|
mtk_vcodec_util.o \
|
|
mtk_vcodec_fw.o
|