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