Replace the DP-helper module with a display-helper module. The support for DisplayPort becomes an internal option that drivers have to select. Update all related Kconfig and Makefile rules. Besides the existing code for DisplayPort, the new module will contain helpers for other video-output standards, such as HDMI. Drivers will have to select their required video-output helpers. Linking all display-related code into a single module avoids the proliferation of small kernel modules. The module parameters drm_dp_cec_unregister_delay, dp_aux_i2c_speed_khz, and dp_aux_i2c_transfer_size are moving from the drm_dp_helper namespace to drm_display_helper. v2: * mention module parameters in commit message (Javier) * distiguish between display module and DP support in Kconfig * update Makefile rules for DP helpers * move Kconfig rules into separate file under display/ Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Lyude Paul <lyude@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220421073108.19226-4-tzimmermann@suse.de
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_TEGRA
|
|
tristate "NVIDIA Tegra DRM"
|
|
depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
|
|
depends on COMMON_CLK
|
|
depends on DRM
|
|
depends on OF
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_DP_AUX_BUS
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
select TEGRA_HOST1X
|
|
select INTERCONNECT
|
|
select IOMMU_IOVA
|
|
select CEC_CORE if CEC_NOTIFIER
|
|
select SND_SIMPLE_CARD if SND_SOC_TEGRA20_SPDIF
|
|
select SND_SOC_HDMI_CODEC if SND_SOC_TEGRA20_SPDIF
|
|
select SND_AUDIO_GRAPH_CARD if SND_SOC_TEGRA20_SPDIF
|
|
help
|
|
Choose this option if you have an NVIDIA Tegra SoC.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called tegra-drm.
|
|
|
|
if DRM_TEGRA
|
|
|
|
config DRM_TEGRA_DEBUG
|
|
bool "NVIDIA Tegra DRM debug support"
|
|
help
|
|
Say yes here to enable debugging support.
|
|
|
|
config DRM_TEGRA_STAGING
|
|
bool "Enable HOST1X interface"
|
|
depends on STAGING
|
|
help
|
|
Say yes if HOST1X should be available for userspace DRM users.
|
|
|
|
If unsure, choose N.
|
|
|
|
endif
|