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