mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 18:10:32 +00:00

There is no need to compile the Rockchip specific AV1 drivers if CONFIG_VIDEO_HANTRO_ROCKCHIP is not set. All the driver functions are only referenced by rockchip_vpu_hw.c which is already under this option. Fixes:727a400686
("media: verisilicon: Add Rockchip AV1 decoder") Fixes:d8ebe59e7b
("media: verisilicon: Add film grain feature to AV1 driver") Fixes:c0d0e579db
("media: verisilicon: Add AV1 entropy helpers") Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
45 lines
996 B
Makefile
45 lines
996 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_VIDEO_HANTRO) += hantro-vpu.o
|
|
|
|
hantro-vpu-y += \
|
|
hantro_drv.o \
|
|
hantro_v4l2.o \
|
|
hantro_postproc.o \
|
|
hantro_h1_jpeg_enc.o \
|
|
hantro_g1.o \
|
|
hantro_g1_h264_dec.o \
|
|
hantro_g1_mpeg2_dec.o \
|
|
hantro_g1_vp8_dec.o \
|
|
hantro_g2.o \
|
|
hantro_g2_hevc_dec.o \
|
|
hantro_g2_vp9_dec.o \
|
|
hantro_jpeg.o \
|
|
hantro_h264.o \
|
|
hantro_hevc.o \
|
|
hantro_mpeg2.o \
|
|
hantro_vp8.o \
|
|
hantro_vp9.o
|
|
|
|
hantro-vpu-$(CONFIG_VIDEO_HANTRO_IMX8M) += \
|
|
imx8m_vpu_hw.o
|
|
|
|
hantro-vpu-$(CONFIG_VIDEO_HANTRO_SAMA5D4) += \
|
|
sama5d4_vdec_hw.o
|
|
|
|
hantro-vpu-$(CONFIG_VIDEO_HANTRO_ROCKCHIP) += \
|
|
rockchip_vpu2_hw_jpeg_enc.o \
|
|
rockchip_vpu2_hw_h264_dec.o \
|
|
rockchip_vpu2_hw_mpeg2_dec.o \
|
|
rockchip_vpu2_hw_vp8_dec.o \
|
|
rockchip_vpu981_hw_av1_dec.o \
|
|
rockchip_av1_filmgrain.o \
|
|
rockchip_av1_entropymode.o \
|
|
rockchip_vpu_hw.o
|
|
|
|
hantro-vpu-$(CONFIG_VIDEO_HANTRO_SUNXI) += \
|
|
sunxi_vpu_hw.o
|
|
|
|
hantro-vpu-$(CONFIG_VIDEO_HANTRO_STM32MP25) += \
|
|
stm32mp25_vpu_hw.o
|