Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_VC4
3 tristate "Broadcom VC4 Graphics"
4 depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
5 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
6 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
7 depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
8 depends on DRM
9 depends on SND && SND_SOC
10 depends on COMMON_CLK
11 depends on PM
12 select DRM_CLIENT_SELECTION
13 select DRM_DISPLAY_HDMI_AUDIO_HELPER
14 select DRM_DISPLAY_HDMI_HELPER
15 select DRM_DISPLAY_HDMI_STATE_HELPER
16 select DRM_DISPLAY_HELPER
17 select DRM_EXEC
18 select DRM_KMS_HELPER
19 select DRM_GEM_DMA_HELPER
20 select DRM_PANEL_BRIDGE
21 select SND_PCM
22 select SND_PCM_ELD
23 select SND_SOC_GENERIC_DMAENGINE_PCM
24 select SND_SOC_HDMI_CODEC
25 select DRM_MIPI_DSI
26 help
27 Choose this option if you have a system that has a Broadcom
28 VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
29
30 This driver requires that "avoid_warnings=2" be present in
31 the config.txt for the firmware, to keep it from smashing
32 our display setup.
33
34config DRM_VC4_HDMI_CEC
35 bool "Broadcom VC4 HDMI CEC Support"
36 depends on DRM_VC4
37 select CEC_CORE
38 help
39 Choose this option if you have a Broadcom VC4 GPU
40 and want to use CEC.
41
42config DRM_VC4_KUNIT_TEST
43 tristate "KUnit tests for VC4" if !KUNIT_ALL_TESTS
44 depends on DRM_VC4 && KUNIT
45 select DRM_KUNIT_TEST_HELPERS
46 default KUNIT_ALL_TESTS
47 help
48 This builds unit tests for the VC4 DRM/KMS driver. This option is
49 not useful for distributions or general kernels, but only for kernel
50 developers working on the VC4 driver.
51
52 For more information on KUnit and unit tests in general,
53 please refer to the KUnit documentation in
54 Documentation/dev-tools/kunit/.
55
56 If in doubt, say "N".