xref: /openbmc/linux/drivers/gpu/drm/nouveau/Kconfig (revision 5999933f)
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
14fb0b7606SRandy Dunlap	select ACPI_WMI if ACPI
15fb0b7606SRandy Dunlap	select MXM_WMI if ACPI
1640c61046SDave Airlie	select POWER_SUPPLY
176ee73861SBen Skeggs	help
186ee73861SBen Skeggs	  Choose this option for open-source nVidia support.
196ee73861SBen Skeggs
205999933fSBen Skeggsconfig NOUVEAU_DEBUG
215999933fSBen Skeggs	int "Maximum debug level"
225999933fSBen Skeggs	depends on DRM_NOUVEAU
235999933fSBen Skeggs	range 0 7
245999933fSBen Skeggs	default 5
255999933fSBen Skeggs	help
265999933fSBen Skeggs	  Selects the maximum debug level to compile support for.
275999933fSBen Skeggs
285999933fSBen Skeggs	  0 - fatal
295999933fSBen Skeggs	  1 - error
305999933fSBen Skeggs	  2 - warning
315999933fSBen Skeggs	  3 - info
325999933fSBen Skeggs	  4 - debug
335999933fSBen Skeggs	  5 - trace (recommended)
345999933fSBen Skeggs	  6 - paranoia
355999933fSBen Skeggs	  7 - spam
365999933fSBen Skeggs
375999933fSBen Skeggs	  The paranoia and spam levels will add a lot of extra checks which
385999933fSBen Skeggs	  may potentially slow down driver operation.
395999933fSBen Skeggs
405999933fSBen Skeggsconfig NOUVEAU_DEBUG_DEFAULT
415999933fSBen Skeggs	int "Default debug level"
425999933fSBen Skeggs	depends on DRM_NOUVEAU
435999933fSBen Skeggs	range 0 7
445999933fSBen Skeggs	default 3
455999933fSBen Skeggs	help
465999933fSBen Skeggs	  Selects the default debug level
475999933fSBen Skeggs
486ee73861SBen Skeggsconfig DRM_NOUVEAU_BACKLIGHT
496ee73861SBen Skeggs	bool "Support for backlight control"
506ee73861SBen Skeggs	depends on DRM_NOUVEAU
516ee73861SBen Skeggs	default y
526ee73861SBen Skeggs	help
536ee73861SBen Skeggs	  Say Y here if you want to control the backlight of your display
546ee73861SBen Skeggs	  (e.g. a laptop panel).
556ee73861SBen Skeggs
566ee73861SBen Skeggsmenu "I2C encoder or helper chips"
5773cb9276SFrancisco Jerez     depends on DRM && DRM_KMS_HELPER && I2C
586ee73861SBen Skeggs
596ee73861SBen Skeggsconfig DRM_I2C_CH7006
606ee73861SBen Skeggs	tristate "Chrontel ch7006 TV encoder"
6173cb9276SFrancisco Jerez	default m if DRM_NOUVEAU
626ee73861SBen Skeggs	help
636ee73861SBen Skeggs	  Support for Chrontel ch7006 and similar TV encoders, found
646ee73861SBen Skeggs	  on some nVidia video cards.
656ee73861SBen Skeggs
666ee73861SBen Skeggs	  This driver is currently only useful if you're also using
676ee73861SBen Skeggs	  the nouveau driver.
68e190bfe5SFrancisco Jerez
69e190bfe5SFrancisco Jerezconfig DRM_I2C_SIL164
70e190bfe5SFrancisco Jerez	tristate "Silicon Image sil164 TMDS transmitter"
71e190bfe5SFrancisco Jerez	default m if DRM_NOUVEAU
72e190bfe5SFrancisco Jerez	help
73e190bfe5SFrancisco Jerez	  Support for sil164 and similar single-link (or dual-link
74e190bfe5SFrancisco Jerez	  when used in pairs) TMDS transmitters, used in some nVidia
75e190bfe5SFrancisco Jerez	  video cards.
76e190bfe5SFrancisco Jerez
776ee73861SBen Skeggsendmenu
78