Merge tag 'drm-intel-next-fixes-2019-05-15' of git://anongit.freedesktop.org/drm...
[linux-2.6-block.git] / drivers / gpu / drm / nouveau / Kconfig
1 config 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 BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
8         select BACKLIGHT_LCD_SUPPORT 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_LCD_SUPPORT if ACPI && X86
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         help
21           Choose this option for open-source NVIDIA support.
22
23 config NOUVEAU_LEGACY_CTX_SUPPORT
24         bool "Nouveau legacy context support"
25         depends on DRM_NOUVEAU
26         select DRM_LEGACY
27         default y
28         help
29           There was a version of the nouveau DDX that relied on legacy
30           ctx ioctls not erroring out. But that was back in time a long
31           ways, so offer a way to disable it now. For uapi compat with
32           old nouveau ddx this should be on by default, but modern distros
33           should consider turning it off.
34
35 config NOUVEAU_PLATFORM_DRIVER
36         bool "Nouveau (NVIDIA) SoC GPUs"
37         depends on DRM_NOUVEAU && ARCH_TEGRA
38         default y
39         help
40           Support for Nouveau platform driver, used for SoC GPUs as found
41           on NVIDIA Tegra K1.
42
43 config NOUVEAU_DEBUG
44         int "Maximum debug level"
45         depends on DRM_NOUVEAU
46         range 0 7
47         default 5
48         help
49           Selects the maximum debug level to compile support for.
50
51           0 - fatal
52           1 - error
53           2 - warning
54           3 - info
55           4 - debug
56           5 - trace (recommended)
57           6 - paranoia
58           7 - spam
59
60           The paranoia and spam levels will add a lot of extra checks which
61           may potentially slow down driver operation.
62
63 config NOUVEAU_DEBUG_DEFAULT
64         int "Default debug level"
65         depends on DRM_NOUVEAU
66         range 0 7
67         default 3
68         help
69           Selects the default debug level
70
71 config NOUVEAU_DEBUG_MMU
72         bool "Enable additional MMU debugging"
73         depends on DRM_NOUVEAU
74         default n
75         help
76           Say Y here if you want to enable verbose MMU debug output.
77
78 config DRM_NOUVEAU_BACKLIGHT
79         bool "Support for backlight control"
80         depends on DRM_NOUVEAU
81         default y
82         help
83           Say Y here if you want to control the backlight of your display
84           (e.g. a laptop panel).
85
86 config DRM_NOUVEAU_SVM
87         bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
88         depends on ARCH_HAS_HMM
89         depends on DRM_NOUVEAU
90         depends on STAGING
91         select HMM_MIRROR
92         select DEVICE_PRIVATE
93         default n
94         help
95           Say Y here if you want to enable experimental support for
96           Shared Virtual Memory (SVM).