xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 1107276c)
16ee73861SBen Skeggsconfig DRM_NOUVEAU
26ee73861SBen Skeggs	tristate "Nouveau (nVidia) cards"
3f5f05c8aSDave Airlie	depends on DRM && PCI
46ee73861SBen Skeggs        select FW_LOADER
56ee73861SBen Skeggs	select DRM_KMS_HELPER
66ee73861SBen Skeggs	select DRM_TTM
76ee73861SBen Skeggs	select FB_CFB_FILLRECT
86ee73861SBen Skeggs	select FB_CFB_COPYAREA
96ee73861SBen Skeggs	select FB_CFB_IMAGEBLIT
106ee73861SBen Skeggs	select FB
116a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
126ee73861SBen Skeggs	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
13c4298801SBen Hutchings	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT
14a91ed42dSBen Hutchings	select X86_PLATFORM_DEVICES if ACPI && X86
15a91ed42dSBen Hutchings	select ACPI_WMI if ACPI && X86
16a91ed42dSBen Hutchings	select MXM_WMI if ACPI && X86
1740c61046SDave Airlie	select POWER_SUPPLY
181107276cSMaarten Lankhorst	# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
191107276cSMaarten Lankhorst	select BACKLIGHT_LCD_SUPPORT if ACPI && X86
201107276cSMaarten Lankhorst	select BACKLIGHT_CLASS_DEVICE if ACPI && X86
211107276cSMaarten Lankhorst	select VIDEO_OUTPUT_CONTROL if ACPI && X86
221107276cSMaarten Lankhorst	select INPUT if ACPI && X86
231107276cSMaarten Lankhorst	select THERMAL if ACPI && X86
241107276cSMaarten Lankhorst	select ACPI_VIDEO if ACPI && X86
256ee73861SBen Skeggs	help
266ee73861SBen Skeggs	  Choose this option for open-source nVidia support.
276ee73861SBen Skeggs
285999933fSBen Skeggsconfig NOUVEAU_DEBUG
295999933fSBen Skeggs	int "Maximum debug level"
305999933fSBen Skeggs	depends on DRM_NOUVEAU
315999933fSBen Skeggs	range 0 7
325999933fSBen Skeggs	default 5
335999933fSBen Skeggs	help
345999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
355999933fSBen Skeggs
365999933fSBen Skeggs	  0 - fatal
375999933fSBen Skeggs	  1 - error
385999933fSBen Skeggs	  2 - warning
395999933fSBen Skeggs	  3 - info
405999933fSBen Skeggs	  4 - debug
415999933fSBen Skeggs	  5 - trace (recommended)
425999933fSBen Skeggs	  6 - paranoia
435999933fSBen Skeggs	  7 - spam
445999933fSBen Skeggs
455999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
465999933fSBen Skeggs	  may potentially slow down driver operation.
475999933fSBen Skeggs
485999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
495999933fSBen Skeggs	int "Default debug level"
505999933fSBen Skeggs	depends on DRM_NOUVEAU
515999933fSBen Skeggs	range 0 7
525999933fSBen Skeggs	default 3
535999933fSBen Skeggs	help
545999933fSBen Skeggs	  Selects the default debug level
555999933fSBen Skeggs
566ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
576ee73861SBen Skeggs	bool "Support for backlight control"
586ee73861SBen Skeggs	depends on DRM_NOUVEAU
596ee73861SBen Skeggs	default y
606ee73861SBen Skeggs	help
616ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
626ee73861SBen Skeggs	  (e.g. a laptop panel).
63