mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
5208989d59
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The tegra driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entirely. v5: - select DRM_CLIENT_SELECTION Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Mikko Perttunen <mperttunen@nvidia.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-79-tzimmermann@suse.de
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_TEGRA
|
|
tristate "NVIDIA Tegra DRM"
|
|
depends on ARCH_TEGRA || COMPILE_TEST
|
|
depends on COMMON_CLK
|
|
depends on DRM
|
|
depends on OF
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_HDMI_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select DRM_DISPLAY_DP_AUX_BUS
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
|
|
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
|