xref: /linux/drivers/gpu/drm/nouveau/Kconfig (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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_KMS_FB_HELPER
7	select DRM_TTM
8	select FB_CFB_FILLRECT
9	select FB_CFB_COPYAREA
10	select FB_CFB_IMAGEBLIT
11	select FB
12	select FRAMEBUFFER_CONSOLE if !EXPERT
13	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
14	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
15	select X86_PLATFORM_DEVICES if ACPI && X86
16	select ACPI_WMI if ACPI && X86
17	select MXM_WMI if ACPI && X86
18	select POWER_SUPPLY
19	# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
20	select BACKLIGHT_LCD_SUPPORT if ACPI && X86
21	select BACKLIGHT_CLASS_DEVICE if ACPI && X86
22	select INPUT if ACPI && X86
23	select THERMAL if ACPI && X86
24	select ACPI_VIDEO if ACPI && X86
25	help
26	  Choose this option for open-source NVIDIA support.
27
28config NOUVEAU_PLATFORM_DRIVER
29	bool "Nouveau (NVIDIA) SoC GPUs"
30	depends on DRM_NOUVEAU && ARCH_TEGRA
31	default y
32	help
33	  Support for Nouveau platform driver, used for SoC GPUs as found
34	  on NVIDIA Tegra K1.
35
36config NOUVEAU_DEBUG
37	int "Maximum debug level"
38	depends on DRM_NOUVEAU
39	range 0 7
40	default 5
41	help
42	  Selects the maximum debug level to compile support for.
43
44	  0 - fatal
45	  1 - error
46	  2 - warning
47	  3 - info
48	  4 - debug
49	  5 - trace (recommended)
50	  6 - paranoia
51	  7 - spam
52
53	  The paranoia and spam levels will add a lot of extra checks which
54	  may potentially slow down driver operation.
55
56config NOUVEAU_DEBUG_DEFAULT
57	int "Default debug level"
58	depends on DRM_NOUVEAU
59	range 0 7
60	default 3
61	help
62	  Selects the default debug level
63
64config DRM_NOUVEAU_BACKLIGHT
65	bool "Support for backlight control"
66	depends on DRM_NOUVEAU
67	default y
68	help
69	  Say Y here if you want to control the backlight of your display
70	  (e.g. a laptop panel).
71