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