xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 399382f8)
16ee73861SBen Skeggsconfig DRM_NOUVEAU
28ba9ff11SAlexandre Courbot	tristate "Nouveau (NVIDIA) cards"
3011cda58SBenjamin Gaignard	depends on DRM && PCI && MMU
46ee73861SBen Skeggs        select FW_LOADER
56ee73861SBen Skeggs	select DRM_KMS_HELPER
66ee73861SBen Skeggs	select DRM_TTM
7399382f8SBartlomiej Zolnierkiewicz	select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
8399382f8SBartlomiej Zolnierkiewicz	select BACKLIGHT_LCD_SUPPORT if DRM_NOUVEAU_BACKLIGHT
9a386c006SJean Delvare	select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
10a91ed42dSBen Hutchings	select X86_PLATFORM_DEVICES if ACPI && X86
11a91ed42dSBen Hutchings	select ACPI_WMI if ACPI && X86
12a91ed42dSBen Hutchings	select MXM_WMI if ACPI && X86
1340c61046SDave Airlie	select POWER_SUPPLY
141107276cSMaarten Lankhorst	# Similar to i915, we need to select ACPI_VIDEO and it's dependencies
151107276cSMaarten Lankhorst	select BACKLIGHT_LCD_SUPPORT if ACPI && X86
161107276cSMaarten Lankhorst	select BACKLIGHT_CLASS_DEVICE if ACPI && X86
171107276cSMaarten Lankhorst	select INPUT if ACPI && X86
181107276cSMaarten Lankhorst	select THERMAL if ACPI && X86
191107276cSMaarten Lankhorst	select ACPI_VIDEO if ACPI && X86
2099c48e1eSBenjamin Gaignard	select DRM_VM
216ee73861SBen Skeggs	help
228ba9ff11SAlexandre Courbot	  Choose this option for open-source NVIDIA support.
238ba9ff11SAlexandre Courbot
248ba9ff11SAlexandre Courbotconfig NOUVEAU_PLATFORM_DRIVER
25055a65d5SAlexandre Courbot	bool "Nouveau (NVIDIA) SoC GPUs"
268ba9ff11SAlexandre Courbot	depends on DRM_NOUVEAU && ARCH_TEGRA
278ba9ff11SAlexandre Courbot	default y
288ba9ff11SAlexandre Courbot	help
298ba9ff11SAlexandre Courbot	  Support for Nouveau platform driver, used for SoC GPUs as found
308ba9ff11SAlexandre Courbot	  on NVIDIA Tegra K1.
316ee73861SBen Skeggs
325999933fSBen Skeggsconfig NOUVEAU_DEBUG
335999933fSBen Skeggs	int "Maximum debug level"
345999933fSBen Skeggs	depends on DRM_NOUVEAU
355999933fSBen Skeggs	range 0 7
365999933fSBen Skeggs	default 5
375999933fSBen Skeggs	help
385999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
395999933fSBen Skeggs
405999933fSBen Skeggs	  0 - fatal
415999933fSBen Skeggs	  1 - error
425999933fSBen Skeggs	  2 - warning
435999933fSBen Skeggs	  3 - info
445999933fSBen Skeggs	  4 - debug
455999933fSBen Skeggs	  5 - trace (recommended)
465999933fSBen Skeggs	  6 - paranoia
475999933fSBen Skeggs	  7 - spam
485999933fSBen Skeggs
495999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
505999933fSBen Skeggs	  may potentially slow down driver operation.
515999933fSBen Skeggs
525999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
535999933fSBen Skeggs	int "Default debug level"
545999933fSBen Skeggs	depends on DRM_NOUVEAU
555999933fSBen Skeggs	range 0 7
565999933fSBen Skeggs	default 3
575999933fSBen Skeggs	help
585999933fSBen Skeggs	  Selects the default debug level
595999933fSBen Skeggs
60eb813999SBen Skeggsconfig NOUVEAU_DEBUG_MMU
61eb813999SBen Skeggs	bool "Enable additional MMU debugging"
62eb813999SBen Skeggs	depends on DRM_NOUVEAU
63eb813999SBen Skeggs	default n
64eb813999SBen Skeggs	help
65eb813999SBen Skeggs	  Say Y here if you want to enable verbose MMU debug output.
66eb813999SBen Skeggs
676ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
686ee73861SBen Skeggs	bool "Support for backlight control"
696ee73861SBen Skeggs	depends on DRM_NOUVEAU
706ee73861SBen Skeggs	default y
716ee73861SBen Skeggs	help
726ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
736ee73861SBen Skeggs	  (e.g. a laptop panel).
74