1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Nouveau (NVIDIA) cards"
4 depends on DRM && PCI && MMU
9 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
10 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
11 select X86_PLATFORM_DEVICES if ACPI && X86
12 select ACPI_WMI if ACPI && X86
13 select MXM_WMI if ACPI && X86
15 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
16 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
17 select INPUT if ACPI && X86
18 select THERMAL if ACPI && X86
19 select ACPI_VIDEO if ACPI && X86
20 select SND_HDA_COMPONENT if SND_HDA_CORE
22 Choose this option for open-source NVIDIA support.
24 config NOUVEAU_LEGACY_CTX_SUPPORT
25 bool "Nouveau legacy context support"
26 depends on DRM_NOUVEAU
30 There was a version of the nouveau DDX that relied on legacy
31 ctx ioctls not erroring out. But that was back in time a long
32 ways, so offer a way to disable it now. For uapi compat with
33 old nouveau ddx this should be on by default, but modern distros
34 should consider turning it off.
36 config NOUVEAU_PLATFORM_DRIVER
37 bool "Nouveau (NVIDIA) SoC GPUs"
38 depends on DRM_NOUVEAU && ARCH_TEGRA
41 Support for Nouveau platform driver, used for SoC GPUs as found
45 int "Maximum debug level"
46 depends on DRM_NOUVEAU
50 Selects the maximum debug level to compile support for.
57 5 - trace (recommended)
61 The paranoia and spam levels will add a lot of extra checks which
62 may potentially slow down driver operation.
64 config NOUVEAU_DEBUG_DEFAULT
65 int "Default debug level"
66 depends on DRM_NOUVEAU
70 Selects the default debug level
72 config NOUVEAU_DEBUG_MMU
73 bool "Enable additional MMU debugging"
74 depends on DRM_NOUVEAU
77 Say Y here if you want to enable verbose MMU debug output.
79 config DRM_NOUVEAU_BACKLIGHT
80 bool "Support for backlight control"
81 depends on DRM_NOUVEAU
84 Say Y here if you want to control the backlight of your display
85 (e.g. a laptop panel).
87 config DRM_NOUVEAU_SVM
88 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
89 depends on DEVICE_PRIVATE
90 depends on DRM_NOUVEAU
97 Say Y here if you want to enable experimental support for
98 Shared Virtual Memory (SVM).