2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-03-03 05:01:12 +08:00
|
|
|
config DRM_VC4
|
|
|
|
tristate "Broadcom VC4 Graphics"
|
2017-05-10 02:15:39 +08:00
|
|
|
depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
|
2022-04-11 10:43:25 +08:00
|
|
|
# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
|
|
|
|
# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
|
|
|
|
depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
|
2016-01-21 07:02:05 +08:00
|
|
|
depends on DRM
|
2017-02-28 04:28:02 +08:00
|
|
|
depends on SND && SND_SOC
|
2017-02-01 03:29:11 +08:00
|
|
|
depends on COMMON_CLK
|
2022-06-29 20:34:36 +08:00
|
|
|
depends on PM
|
2022-04-21 15:31:07 +08:00
|
|
|
select DRM_DISPLAY_HDMI_HELPER
|
|
|
|
select DRM_DISPLAY_HELPER
|
2015-03-03 05:01:12 +08:00
|
|
|
select DRM_KMS_HELPER
|
2022-08-02 08:04:03 +08:00
|
|
|
select DRM_GEM_DMA_HELPER
|
2017-05-12 02:31:23 +08:00
|
|
|
select DRM_PANEL_BRIDGE
|
2017-02-28 04:28:02 +08:00
|
|
|
select SND_PCM
|
|
|
|
select SND_PCM_ELD
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2021-05-25 21:23:52 +08:00
|
|
|
select SND_SOC_HDMI_CODEC
|
2017-02-01 03:29:11 +08:00
|
|
|
select DRM_MIPI_DSI
|
2015-03-03 05:01:12 +08:00
|
|
|
help
|
|
|
|
Choose this option if you have a system that has a Broadcom
|
|
|
|
VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
|
|
|
|
|
|
|
|
This driver requires that "avoid_warnings=2" be present in
|
|
|
|
the config.txt for the firmware, to keep it from smashing
|
|
|
|
our display setup.
|
2017-07-16 18:48:04 +08:00
|
|
|
|
|
|
|
config DRM_VC4_HDMI_CEC
|
2019-11-21 21:29:19 +08:00
|
|
|
bool "Broadcom VC4 HDMI CEC Support"
|
|
|
|
depends on DRM_VC4
|
|
|
|
select CEC_CORE
|
|
|
|
help
|
2017-07-16 18:48:04 +08:00
|
|
|
Choose this option if you have a Broadcom VC4 GPU
|
|
|
|
and want to use CEC.
|
2022-12-01 23:11:48 +08:00
|
|
|
|
|
|
|
config DRM_VC4_KUNIT_TEST
|
2023-02-02 18:23:32 +08:00
|
|
|
tristate "KUnit tests for VC4" if !KUNIT_ALL_TESTS
|
2022-12-01 23:11:48 +08:00
|
|
|
depends on DRM_VC4 && KUNIT
|
|
|
|
select DRM_KUNIT_TEST_HELPERS
|
|
|
|
default KUNIT_ALL_TESTS
|
|
|
|
help
|
|
|
|
This builds unit tests for the VC4 DRM/KMS driver. This option is
|
|
|
|
not useful for distributions or general kernels, but only for kernel
|
|
|
|
developers working on the VC4 driver.
|
|
|
|
|
|
|
|
For more information on KUnit and unit tests in general,
|
|
|
|
please refer to the KUnit documentation in
|
|
|
|
Documentation/dev-tools/kunit/.
|
|
|
|
|
|
|
|
If in doubt, say "N".
|