Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
c8b75bca EA |
2 | config DRM_VC4 |
3 | tristate "Broadcom VC4 Graphics" | |
b70ee236 | 4 | depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST |
4dee8eeb ZB |
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) | |
e1c7e324 | 8 | depends on DRM |
bb7d7856 | 9 | depends on SND && SND_SOC |
4078f575 | 10 | depends on COMMON_CLK |
c8b75bca | 11 | select DRM_KMS_HELPER |
2565df91 | 12 | select DRM_GEM_CMA_HELPER |
656fa22f | 13 | select DRM_PANEL_BRIDGE |
bb7d7856 EA |
14 | select SND_PCM |
15 | select SND_PCM_ELD | |
16 | select SND_SOC_GENERIC_DMAENGINE_PCM | |
91e99e11 | 17 | select SND_SOC_HDMI_CODEC |
4078f575 | 18 | select DRM_MIPI_DSI |
c8b75bca EA |
19 | help |
20 | Choose this option if you have a system that has a Broadcom | |
21 | VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835. | |
22 | ||
23 | This driver requires that "avoid_warnings=2" be present in | |
24 | the config.txt for the firmware, to keep it from smashing | |
25 | our display setup. | |
15b4511a HV |
26 | |
27 | config DRM_VC4_HDMI_CEC | |
c7a7a6ae KK |
28 | bool "Broadcom VC4 HDMI CEC Support" |
29 | depends on DRM_VC4 | |
30 | select CEC_CORE | |
31 | help | |
15b4511a HV |
32 | Choose this option if you have a Broadcom VC4 GPU |
33 | and want to use CEC. |