xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 8ba9ff11)
16ee73861SBen Skeggsconfig DRM_NOUVEAU
28ba9ff11SAlexandre Courbot	tristate "Nouveau (NVIDIA) cards"
3f5f05c8aSDave Airlie	depends on DRM && PCI
46ee73861SBen Skeggs        select FW_LOADER
56ee73861SBen Skeggs	select DRM_KMS_HELPER
692b6f89fSDaniel Vetter	select DRM_KMS_FB_HELPER
76ee73861SBen Skeggs	select DRM_TTM
86ee73861SBen Skeggs	select FB_CFB_FILLRECT
96ee73861SBen Skeggs	select FB_CFB_COPYAREA
106ee73861SBen Skeggs	select FB_CFB_IMAGEBLIT
116ee73861SBen Skeggs	select FB
126a108a14SDavid Rientjes	select FRAMEBUFFER_CONSOLE if !EXPERT
136ee73861SBen Skeggs	select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
14a386c006SJean Delvare	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
15a91ed42dSBen Hutchings	select X86_PLATFORM_DEVICES if ACPI && X86
16a91ed42dSBen Hutchings	select ACPI_WMI if ACPI && X86
17a91ed42dSBen Hutchings	select MXM_WMI if ACPI && X86
1840c61046SDave Airlie	select POWER_SUPPLY
191107276cSMaarten Lankhorst	# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
201107276cSMaarten Lankhorst	select BACKLIGHT_LCD_SUPPORT if ACPI && X86
211107276cSMaarten Lankhorst	select BACKLIGHT_CLASS_DEVICE 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
268ba9ff11SAlexandre Courbot	  Choose this option for open-source NVIDIA support.
278ba9ff11SAlexandre Courbot
288ba9ff11SAlexandre Courbotconfig NOUVEAU_PLATFORM_DRIVER
298ba9ff11SAlexandre Courbot	tristate "Nouveau (NVIDIA) SoC GPUs"
308ba9ff11SAlexandre Courbot	depends on DRM_NOUVEAU && ARCH_TEGRA
318ba9ff11SAlexandre Courbot	default y
328ba9ff11SAlexandre Courbot	help
338ba9ff11SAlexandre Courbot	  Support for Nouveau platform driver, used for SoC GPUs as found
348ba9ff11SAlexandre Courbot	  on NVIDIA Tegra K1.
356ee73861SBen Skeggs
365999933fSBen Skeggsconfig NOUVEAU_DEBUG
375999933fSBen Skeggs	int "Maximum debug level"
385999933fSBen Skeggs	depends on DRM_NOUVEAU
395999933fSBen Skeggs	range 0 7
405999933fSBen Skeggs	default 5
415999933fSBen Skeggs	help
425999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
435999933fSBen Skeggs
445999933fSBen Skeggs	  0 - fatal
455999933fSBen Skeggs	  1 - error
465999933fSBen Skeggs	  2 - warning
475999933fSBen Skeggs	  3 - info
485999933fSBen Skeggs	  4 - debug
495999933fSBen Skeggs	  5 - trace (recommended)
505999933fSBen Skeggs	  6 - paranoia
515999933fSBen Skeggs	  7 - spam
525999933fSBen Skeggs
535999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
545999933fSBen Skeggs	  may potentially slow down driver operation.
555999933fSBen Skeggs
565999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
575999933fSBen Skeggs	int "Default debug level"
585999933fSBen Skeggs	depends on DRM_NOUVEAU
595999933fSBen Skeggs	range 0 7
605999933fSBen Skeggs	default 3
615999933fSBen Skeggs	help
625999933fSBen Skeggs	  Selects the default debug level
635999933fSBen Skeggs
646ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
656ee73861SBen Skeggs	bool "Support for backlight control"
666ee73861SBen Skeggs	depends on DRM_NOUVEAU
676ee73861SBen Skeggs	default y
686ee73861SBen Skeggs	help
696ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
706ee73861SBen Skeggs	  (e.g. a laptop panel).
71