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