0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config DRM_NOUVEAU
0003 tristate "Nouveau (NVIDIA) cards"
0004 depends on DRM && PCI && MMU
0005 select IOMMU_API
0006 select FW_LOADER
0007 select DRM_DISPLAY_DP_HELPER
0008 select DRM_DISPLAY_HDMI_HELPER
0009 select DRM_DISPLAY_HELPER
0010 select DRM_KMS_HELPER
0011 select DRM_TTM
0012 select DRM_TTM_HELPER
0013 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
0014 select X86_PLATFORM_DEVICES if ACPI && X86
0015 select ACPI_WMI if ACPI && X86
0016 select MXM_WMI if ACPI && X86
0017 select POWER_SUPPLY
0018 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
0019 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
0020 select INPUT if ACPI && X86
0021 select THERMAL if ACPI && X86
0022 select ACPI_VIDEO if ACPI && X86
0023 select SND_HDA_COMPONENT if SND_HDA_CORE
0024 help
0025 Choose this option for open-source NVIDIA support.
0026
0027 config NOUVEAU_LEGACY_CTX_SUPPORT
0028 bool "Nouveau legacy context support"
0029 depends on DRM_NOUVEAU
0030 select DRM_LEGACY
0031 default y
0032 help
0033 There was a version of the nouveau DDX that relied on legacy
0034 ctx ioctls not erroring out. But that was back in time a long
0035 ways, so offer a way to disable it now. For uapi compat with
0036 old nouveau ddx this should be on by default, but modern distros
0037 should consider turning it off.
0038
0039 config NOUVEAU_PLATFORM_DRIVER
0040 bool "Nouveau (NVIDIA) SoC GPUs"
0041 depends on DRM_NOUVEAU && ARCH_TEGRA
0042 default y
0043 help
0044 Support for Nouveau platform driver, used for SoC GPUs as found
0045 on NVIDIA Tegra K1.
0046
0047 config NOUVEAU_DEBUG
0048 int "Maximum debug level"
0049 depends on DRM_NOUVEAU
0050 range 0 7
0051 default 5
0052 help
0053 Selects the maximum debug level to compile support for.
0054
0055 0 - fatal
0056 1 - error
0057 2 - warning
0058 3 - info
0059 4 - debug
0060 5 - trace (recommended)
0061 6 - paranoia
0062 7 - spam
0063
0064 The paranoia and spam levels will add a lot of extra checks which
0065 may potentially slow down driver operation.
0066
0067 config NOUVEAU_DEBUG_DEFAULT
0068 int "Default debug level"
0069 depends on DRM_NOUVEAU
0070 range 0 7
0071 default 3
0072 help
0073 Selects the default debug level
0074
0075 config NOUVEAU_DEBUG_MMU
0076 bool "Enable additional MMU debugging"
0077 depends on DRM_NOUVEAU
0078 default n
0079 help
0080 Say Y here if you want to enable verbose MMU debug output.
0081
0082 config NOUVEAU_DEBUG_PUSH
0083 bool "Enable additional push buffer debugging"
0084 depends on DRM_NOUVEAU
0085 default n
0086 help
0087 Say Y here if you want to enable verbose push buffer debug output
0088 and sanity checks.
0089
0090 config DRM_NOUVEAU_BACKLIGHT
0091 bool "Support for backlight control"
0092 depends on DRM_NOUVEAU
0093 default y
0094 help
0095 Say Y here if you want to control the backlight of your display
0096 (e.g. a laptop panel).
0097
0098 config DRM_NOUVEAU_SVM
0099 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
0100 depends on DEVICE_PRIVATE
0101 depends on DRM_NOUVEAU
0102 depends on MMU
0103 depends on STAGING
0104 select HMM_MIRROR
0105 select MMU_NOTIFIER
0106 default n
0107 help
0108 Say Y here if you want to enable experimental support for
0109 Shared Virtual Memory (SVM).