mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 05:52:38 -04:00
Since REMOTEPROC completely replaces the VIDEO_MEDIATEK_VPU in MDP3,
unused config should be removed to avoid compilation warnings
reported on i386 or x86_64.
Warning messages:
WARNING: unmet direct dependencies detected for VIDEO_MEDIATEK_VPU
Depends on [n]: MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y]
&& MEDIA_PLATFORM_DRIVERS [=y] && V4L_MEM2MEM_DRIVERS [=n] &&
VIDEO_DEV [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y])
Selected by [y]:
- VIDEO_MEDIATEK_MDP3 [=y] && MEDIA_SUPPORT [=y] &&
MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] &&
(MTK_IOMMU [=n] || COMPILE_TEST [=y]) && VIDEO_DEV [=y] &&
(ARCH_MEDIATEK || COMPILE_TEST [=y]) && HAS_DMA [=y] && REMOTEPROC
[=y]
Fixes: 61890ccaef ("media: platform: mtk-mdp3: add MediaTek MDP3 driver")
Signed-off-by: Moudy Ho <moudy.ho@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
21 lines
589 B
Plaintext
21 lines
589 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VIDEO_MEDIATEK_MDP3
|
|
tristate "MediaTek MDP v3 driver"
|
|
depends on MTK_IOMMU || COMPILE_TEST
|
|
depends on VIDEO_DEV
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on HAS_DMA
|
|
depends on REMOTEPROC
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
select MTK_MMSYS
|
|
select MTK_CMDQ
|
|
select MTK_SCP
|
|
default n
|
|
help
|
|
It is a v4l2 driver and present in MediaTek MT8183 SoC.
|
|
The driver supports scaling and color space conversion.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called mtk-mdp3.
|