mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 21:52:21 +00:00

The Nuvoton NPCM Video Capture/Differentiation Engine (VCD) and Encoding
Compression Engine (ECE) are only present on Nuvoton NPCM SoCs. Hence
add a dependency on ARCH_NPCM, to prevent asking the user about these
drivers when configuring a kernel without Nuvoton NPCM Architecture
support.
Fixes: 46c15a4ff1
("media: nuvoton: Add driver for NPCM video capture and encoding engine")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
16 lines
583 B
Plaintext
16 lines
583 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
comment "Nuvoton media platform drivers"
|
|
|
|
config VIDEO_NPCM_VCD_ECE
|
|
tristate "Nuvoton NPCM Video Capture/Encode Engine driver"
|
|
depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
|
|
depends on ARCH_NPCM || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
help
|
|
Support for the Video Capture/Differentiation Engine (VCD) and
|
|
Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs.
|
|
The VCD can capture a frame from digital video input and compare
|
|
two frames in memory, and then the ECE can compress the frame
|
|
data into HEXTILE format.
|