Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_NOUVEAU
3 tristate "Nouveau (NVIDIA) cards"
4 depends on DRM && PCI && MMU
5 select FW_LOADER
6 select DRM_KMS_HELPER
7 select DRM_TTM
8 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
9 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
10 select X86_PLATFORM_DEVICES if ACPI && X86
11 select ACPI_WMI if ACPI && X86
12 select MXM_WMI if ACPI && X86
13 select POWER_SUPPLY
14 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
15 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
16 select INPUT if ACPI && X86
17 select THERMAL if ACPI && X86
18 select ACPI_VIDEO if ACPI && X86
19 help
20 Choose this option for open-source NVIDIA support.
21
22config NOUVEAU_LEGACY_CTX_SUPPORT
23 bool "Nouveau legacy context support"
24 depends on DRM_NOUVEAU
25 select DRM_LEGACY
26 default y
27 help
28 There was a version of the nouveau DDX that relied on legacy
29 ctx ioctls not erroring out. But that was back in time a long
30 ways, so offer a way to disable it now. For uapi compat with
31 old nouveau ddx this should be on by default, but modern distros
32 should consider turning it off.
33
34config NOUVEAU_PLATFORM_DRIVER
35 bool "Nouveau (NVIDIA) SoC GPUs"
36 depends on DRM_NOUVEAU && ARCH_TEGRA
37 default y
38 help
39 Support for Nouveau platform driver, used for SoC GPUs as found
40 on NVIDIA Tegra K1.
41
42config NOUVEAU_DEBUG
43 int "Maximum debug level"
44 depends on DRM_NOUVEAU
45 range 0 7
46 default 5
47 help
48 Selects the maximum debug level to compile support for.
49
50 0 - fatal
51 1 - error
52 2 - warning
53 3 - info
54 4 - debug
55 5 - trace (recommended)
56 6 - paranoia
57 7 - spam
58
59 The paranoia and spam levels will add a lot of extra checks which
60 may potentially slow down driver operation.
61
62config NOUVEAU_DEBUG_DEFAULT
63 int "Default debug level"
64 depends on DRM_NOUVEAU
65 range 0 7
66 default 3
67 help
68 Selects the default debug level
69
70config NOUVEAU_DEBUG_MMU
71 bool "Enable additional MMU debugging"
72 depends on DRM_NOUVEAU
73 default n
74 help
75 Say Y here if you want to enable verbose MMU debug output.
76
77config DRM_NOUVEAU_BACKLIGHT
78 bool "Support for backlight control"
79 depends on DRM_NOUVEAU
80 default y
81 help
82 Say Y here if you want to control the backlight of your display
83 (e.g. a laptop panel).
84
85config DRM_NOUVEAU_SVM
86 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
87 depends on DEVICE_PRIVATE
88 depends on DRM_NOUVEAU
89 depends on MMU
90 depends on STAGING
91 select HMM_MIRROR
92 select MMU_NOTIFIER
93 default n
94 help
95 Say Y here if you want to enable experimental support for
96 Shared Virtual Memory (SVM).
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_NOUVEAU
3 tristate "Nouveau (NVIDIA) cards"
4 depends on DRM && PCI && MMU
5 select IOMMU_API
6 select FW_LOADER
7 select DRM_KMS_HELPER
8 select DRM_TTM
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
14 select POWER_SUPPLY
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
21 help
22 Choose this option for open-source NVIDIA support.
23
24config NOUVEAU_LEGACY_CTX_SUPPORT
25 bool "Nouveau legacy context support"
26 depends on DRM_NOUVEAU
27 select DRM_LEGACY
28 default y
29 help
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.
35
36config NOUVEAU_PLATFORM_DRIVER
37 bool "Nouveau (NVIDIA) SoC GPUs"
38 depends on DRM_NOUVEAU && ARCH_TEGRA
39 default y
40 help
41 Support for Nouveau platform driver, used for SoC GPUs as found
42 on NVIDIA Tegra K1.
43
44config NOUVEAU_DEBUG
45 int "Maximum debug level"
46 depends on DRM_NOUVEAU
47 range 0 7
48 default 5
49 help
50 Selects the maximum debug level to compile support for.
51
52 0 - fatal
53 1 - error
54 2 - warning
55 3 - info
56 4 - debug
57 5 - trace (recommended)
58 6 - paranoia
59 7 - spam
60
61 The paranoia and spam levels will add a lot of extra checks which
62 may potentially slow down driver operation.
63
64config NOUVEAU_DEBUG_DEFAULT
65 int "Default debug level"
66 depends on DRM_NOUVEAU
67 range 0 7
68 default 3
69 help
70 Selects the default debug level
71
72config NOUVEAU_DEBUG_MMU
73 bool "Enable additional MMU debugging"
74 depends on DRM_NOUVEAU
75 default n
76 help
77 Say Y here if you want to enable verbose MMU debug output.
78
79config NOUVEAU_DEBUG_PUSH
80 bool "Enable additional push buffer debugging"
81 depends on DRM_NOUVEAU
82 default n
83 help
84 Say Y here if you want to enable verbose push buffer debug output
85 and sanity checks.
86
87config DRM_NOUVEAU_BACKLIGHT
88 bool "Support for backlight control"
89 depends on DRM_NOUVEAU
90 default y
91 help
92 Say Y here if you want to control the backlight of your display
93 (e.g. a laptop panel).
94
95config DRM_NOUVEAU_SVM
96 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
97 depends on DEVICE_PRIVATE
98 depends on DRM_NOUVEAU
99 depends on MMU
100 depends on STAGING
101 select HMM_MIRROR
102 select MMU_NOTIFIER
103 default n
104 help
105 Say Y here if you want to enable experimental support for
106 Shared Virtual Memory (SVM).