xref: /linux/drivers/gpu/drm/nouveau/Kconfig (revision f6e8dc9edf963dbc99085e54f6ced6da9daa6100)
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_NOUVEAU
3	tristate "Nouveau (NVIDIA) cards"
4	depends on DRM && PCI
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	select PM_DEVFREQ if ARCH_TEGRA
32	help
33	  Choose this option for open-source NVIDIA support.
34
35config 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
43config 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
63config 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
71config 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
78config NOUVEAU_DEBUG_PUSH
79	bool "Enable additional push buffer debugging"
80	depends on DRM_NOUVEAU
81	default n
82	help
83	  Say Y here if you want to enable verbose push buffer debug output
84	  and sanity checks.
85
86config DRM_NOUVEAU_BACKLIGHT
87	bool "Support for backlight control"
88	depends on DRM_NOUVEAU
89	default y
90	help
91	  Say Y here if you want to control the backlight of your display
92	  (e.g. a laptop panel).
93
94config DRM_NOUVEAU_SVM
95	bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
96	depends on DEVICE_PRIVATE
97	depends on DRM_NOUVEAU
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_CH7006
107	tristate "Chrontel ch7006 TV encoder"
108	depends on DRM_NOUVEAU
109	default m
110	help
111	  Support for Chrontel ch7006 and similar TV encoders.
112
113	  This driver is currently only useful if you're also using
114	  the nouveau driver.
115
116config DRM_NOUVEAU_SIL164
117	tristate "Silicon Image sil164 TMDS transmitter"
118	depends on DRM_NOUVEAU
119	default m
120	help
121	  Support for sil164 and similar single-link (or dual-link
122	  when used in pairs) TMDS transmitters.
123