xref: /openbmc/linux/drivers/gpu/drm/vc4/Kconfig (revision 791d3ef2)
1config DRM_VC4
2	tristate "Broadcom VC4 Graphics"
3	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
4	depends on DRM
5	depends on SND && SND_SOC
6	depends on COMMON_CLK
7	select DRM_KMS_HELPER
8	select DRM_KMS_CMA_HELPER
9	select DRM_GEM_CMA_HELPER
10	select DRM_PANEL_BRIDGE
11	select SND_PCM
12	select SND_PCM_ELD
13	select SND_SOC_GENERIC_DMAENGINE_PCM
14	select DRM_MIPI_DSI
15	help
16	  Choose this option if you have a system that has a Broadcom
17	  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
18
19	  This driver requires that "avoid_warnings=2" be present in
20	  the config.txt for the firmware, to keep it from smashing
21	  our display setup.
22
23config DRM_VC4_HDMI_CEC
24       bool "Broadcom VC4 HDMI CEC Support"
25       depends on DRM_VC4
26       select CEC_CORE
27       help
28	  Choose this option if you have a Broadcom VC4 GPU
29	  and want to use CEC.
30