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 IOMMU_API
6 select FW_LOADER
7 select FW_CACHE if PM_SLEEP
8 select DRM_CLIENT_SELECTION
9 select DRM_DISPLAY_DP_HELPER
10 select DRM_DISPLAY_HDMI_HELPER
11 select DRM_DISPLAY_HELPER
12 select DRM_KMS_HELPER
13 select DRM_TTM
14 select DRM_TTM_HELPER
15 select DRM_EXEC
16 select DRM_GPUVM
17 select DRM_SCHED
18 select I2C
19 select I2C_ALGOBIT
20 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
21 select X86_PLATFORM_DEVICES if ACPI && X86
22 select ACPI_WMI if ACPI && X86
23 select MXM_WMI if ACPI && X86
24 select POWER_SUPPLY
25 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
26 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
27 select INPUT if ACPI && X86
28 select THERMAL if ACPI && X86
29 select ACPI_VIDEO if ACPI && X86
30 select SND_HDA_COMPONENT if SND_HDA_CORE
31 help
32 Choose this option for open-source NVIDIA support.
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 NOUVEAU_DEBUG_PUSH
78 bool "Enable additional push buffer debugging"
79 depends on DRM_NOUVEAU
80 default n
81 help
82 Say Y here if you want to enable verbose push buffer debug output
83 and sanity checks.
84
85config DRM_NOUVEAU_BACKLIGHT
86 bool "Support for backlight control"
87 depends on DRM_NOUVEAU
88 default y
89 help
90 Say Y here if you want to control the backlight of your display
91 (e.g. a laptop panel).
92
93config DRM_NOUVEAU_SVM
94 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
95 depends on DEVICE_PRIVATE
96 depends on DRM_NOUVEAU
97 depends on MMU
98 depends on STAGING
99 select HMM_MIRROR
100 select MMU_NOTIFIER
101 default n
102 help
103 Say Y here if you want to enable experimental support for
104 Shared Virtual Memory (SVM).
105
106config DRM_NOUVEAU_GSP_DEFAULT
107 bool "Use GSP firmware for Turing/Ampere (needs firmware installed)"
108 depends on DRM_NOUVEAU
109 default n
110 help
111 Say Y here if you want to use the GSP codepaths by default on
112 Turing and Ampere GPUs.
1config DRM_NOUVEAU
2 tristate "Nouveau (NVIDIA) cards"
3 depends on DRM && PCI && MMU
4 select FW_LOADER
5 select DRM_KMS_HELPER
6 select DRM_TTM
7 select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
8 select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
9 select X86_PLATFORM_DEVICES if ACPI && X86
10 select ACPI_WMI if ACPI && X86
11 select MXM_WMI if ACPI && X86
12 select POWER_SUPPLY
13 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
14 select BACKLIGHT_LCD_SUPPORT if ACPI && X86
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 select DRM_VM
20 help
21 Choose this option for open-source NVIDIA support.
22
23config NOUVEAU_PLATFORM_DRIVER
24 bool "Nouveau (NVIDIA) SoC GPUs"
25 depends on DRM_NOUVEAU && ARCH_TEGRA
26 default y
27 help
28 Support for Nouveau platform driver, used for SoC GPUs as found
29 on NVIDIA Tegra K1.
30
31config NOUVEAU_DEBUG
32 int "Maximum debug level"
33 depends on DRM_NOUVEAU
34 range 0 7
35 default 5
36 help
37 Selects the maximum debug level to compile support for.
38
39 0 - fatal
40 1 - error
41 2 - warning
42 3 - info
43 4 - debug
44 5 - trace (recommended)
45 6 - paranoia
46 7 - spam
47
48 The paranoia and spam levels will add a lot of extra checks which
49 may potentially slow down driver operation.
50
51config NOUVEAU_DEBUG_DEFAULT
52 int "Default debug level"
53 depends on DRM_NOUVEAU
54 range 0 7
55 default 3
56 help
57 Selects the default debug level
58
59config NOUVEAU_DEBUG_MMU
60 bool "Enable additional MMU debugging"
61 depends on DRM_NOUVEAU
62 default n
63 help
64 Say Y here if you want to enable verbose MMU debug output.
65
66config DRM_NOUVEAU_BACKLIGHT
67 bool "Support for backlight control"
68 depends on DRM_NOUVEAU
69 default y
70 help
71 Say Y here if you want to control the backlight of your display
72 (e.g. a laptop panel).