54 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_VC43 tristate "Broadcom VC4 Graphics"4 depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST5 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only6 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.7 depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)8 depends on DRM9 depends on SND && SND_SOC10 depends on COMMON_CLK11 depends on PM12 select DRM_DISPLAY_HDMI_HELPER13 select DRM_DISPLAY_HDMI_STATE_HELPER14 select DRM_DISPLAY_HELPER15 select DRM_KMS_HELPER16 select DRM_GEM_DMA_HELPER17 select DRM_PANEL_BRIDGE18 select SND_PCM19 select SND_PCM_ELD20 select SND_SOC_GENERIC_DMAENGINE_PCM21 select SND_SOC_HDMI_CODEC22 select DRM_MIPI_DSI23 help24 Choose this option if you have a system that has a Broadcom25 VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.26 27 This driver requires that "avoid_warnings=2" be present in28 the config.txt for the firmware, to keep it from smashing29 our display setup.30 31config DRM_VC4_HDMI_CEC32 bool "Broadcom VC4 HDMI CEC Support"33 depends on DRM_VC434 select CEC_CORE35 help36 Choose this option if you have a Broadcom VC4 GPU37 and want to use CEC.38 39config DRM_VC4_KUNIT_TEST40 tristate "KUnit tests for VC4" if !KUNIT_ALL_TESTS41 depends on DRM_VC4 && KUNIT42 select DRM_KUNIT_TEST_HELPERS43 default KUNIT_ALL_TESTS44 help45 This builds unit tests for the VC4 DRM/KMS driver. This option is46 not useful for distributions or general kernels, but only for kernel47 developers working on the VC4 driver.48 49 For more information on KUnit and unit tests in general,50 please refer to the KUnit documentation in51 Documentation/dev-tools/kunit/.52 53 If in doubt, say "N".54