xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 9fb29c73)
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 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	select DRM_VM
21	help
22	  Choose this option for open-source NVIDIA support.
23
24config NOUVEAU_PLATFORM_DRIVER
25	bool "Nouveau (NVIDIA) SoC GPUs"
26	depends on DRM_NOUVEAU && ARCH_TEGRA
27	default y
28	help
29	  Support for Nouveau platform driver, used for SoC GPUs as found
30	  on NVIDIA Tegra K1.
31
32config NOUVEAU_DEBUG
33	int "Maximum debug level"
34	depends on DRM_NOUVEAU
35	range 0 7
36	default 5
37	help
38	  Selects the maximum debug level to compile support for.
39
40	  0 - fatal
41	  1 - error
42	  2 - warning
43	  3 - info
44	  4 - debug
45	  5 - trace (recommended)
46	  6 - paranoia
47	  7 - spam
48
49	  The paranoia and spam levels will add a lot of extra checks which
50	  may potentially slow down driver operation.
51
52config NOUVEAU_DEBUG_DEFAULT
53	int "Default debug level"
54	depends on DRM_NOUVEAU
55	range 0 7
56	default 3
57	help
58	  Selects the default debug level
59
60config NOUVEAU_DEBUG_MMU
61	bool "Enable additional MMU debugging"
62	depends on DRM_NOUVEAU
63	default n
64	help
65	  Say Y here if you want to enable verbose MMU debug output.
66
67config DRM_NOUVEAU_BACKLIGHT
68	bool "Support for backlight control"
69	depends on DRM_NOUVEAU
70	default y
71	help
72	  Say Y here if you want to control the backlight of your display
73	  (e.g. a laptop panel).
74