]> Git Repo - J-linux.git/blob - drivers/media/platform/mediatek/vcodec/Kconfig
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / media / platform / mediatek / vcodec / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config VIDEO_MEDIATEK_VCODEC_SCP
3         bool
4
5 config VIDEO_MEDIATEK_VCODEC_VPU
6         bool
7
8 config VIDEO_MEDIATEK_VCODEC
9         tristate "Mediatek Video Codec driver"
10         depends on V4L_MEM2MEM_DRIVERS
11         depends on MTK_IOMMU || COMPILE_TEST
12         depends on VIDEO_DEV
13         depends on ARCH_MEDIATEK || COMPILE_TEST
14         depends on VIDEO_MEDIATEK_VPU || MTK_SCP
15         # The two following lines ensure we have the same state ("m" or "y") as
16         # our dependencies, to avoid missing symbols during link.
17         depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU
18         depends on MTK_SCP || !MTK_SCP
19         depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
20         select VIDEOBUF2_DMA_CONTIG
21         select V4L2_MEM2MEM_DEV
22         select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU
23         select VIDEO_MEDIATEK_VCODEC_SCP if MTK_SCP
24         select V4L2_H264
25         select V4L2_VP9
26         select MEDIA_CONTROLLER
27         help
28           Mediatek video codec driver provides HW capability to
29           encode and decode in a range of video formats on MT8173
30           and MT8183.
31
32           Note that support for MT8173 requires VIDEO_MEDIATEK_VPU to
33           also be selected. Support for MT8183 depends on MTK_SCP.
34
35           To compile this driver as modules, choose M here: the
36           modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
This page took 0.028479 seconds and 4 git commands to generate.