111 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_NOUVEAU3 tristate "Nouveau (NVIDIA) cards"4 depends on DRM && PCI && MMU5 select IOMMU_API6 select FW_LOADER7 select DRM_DISPLAY_DP_HELPER8 select DRM_DISPLAY_HDMI_HELPER9 select DRM_DISPLAY_HELPER10 select DRM_KMS_HELPER11 select DRM_TTM12 select DRM_TTM_HELPER13 select DRM_EXEC14 select DRM_GPUVM15 select DRM_SCHED16 select I2C17 select I2C_ALGOBIT18 select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT19 select X86_PLATFORM_DEVICES if ACPI && X8620 select ACPI_WMI if ACPI && X8621 select MXM_WMI if ACPI && X8622 select POWER_SUPPLY23 # Similar to i915, we need to select ACPI_VIDEO and it's dependencies24 select BACKLIGHT_CLASS_DEVICE if ACPI && X8625 select INPUT if ACPI && X8626 select THERMAL if ACPI && X8627 select ACPI_VIDEO if ACPI && X8628 select SND_HDA_COMPONENT if SND_HDA_CORE29 help30 Choose this option for open-source NVIDIA support.31 32config NOUVEAU_PLATFORM_DRIVER33 bool "Nouveau (NVIDIA) SoC GPUs"34 depends on DRM_NOUVEAU && ARCH_TEGRA35 default y36 help37 Support for Nouveau platform driver, used for SoC GPUs as found38 on NVIDIA Tegra K1.39 40config NOUVEAU_DEBUG41 int "Maximum debug level"42 depends on DRM_NOUVEAU43 range 0 744 default 545 help46 Selects the maximum debug level to compile support for.47 48 0 - fatal49 1 - error50 2 - warning51 3 - info52 4 - debug53 5 - trace (recommended)54 6 - paranoia55 7 - spam56 57 The paranoia and spam levels will add a lot of extra checks which58 may potentially slow down driver operation.59 60config NOUVEAU_DEBUG_DEFAULT61 int "Default debug level"62 depends on DRM_NOUVEAU63 range 0 764 default 365 help66 Selects the default debug level67 68config NOUVEAU_DEBUG_MMU69 bool "Enable additional MMU debugging"70 depends on DRM_NOUVEAU71 default n72 help73 Say Y here if you want to enable verbose MMU debug output.74 75config NOUVEAU_DEBUG_PUSH76 bool "Enable additional push buffer debugging"77 depends on DRM_NOUVEAU78 default n79 help80 Say Y here if you want to enable verbose push buffer debug output81 and sanity checks.82 83config DRM_NOUVEAU_BACKLIGHT84 bool "Support for backlight control"85 depends on DRM_NOUVEAU86 default y87 help88 Say Y here if you want to control the backlight of your display89 (e.g. a laptop panel).90 91config DRM_NOUVEAU_SVM92 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"93 depends on DEVICE_PRIVATE94 depends on DRM_NOUVEAU95 depends on MMU96 depends on STAGING97 select HMM_MIRROR98 select MMU_NOTIFIER99 default n100 help101 Say Y here if you want to enable experimental support for102 Shared Virtual Memory (SVM).103 104config DRM_NOUVEAU_GSP_DEFAULT105 bool "Use GSP firmware for Turing/Ampere (needs firmware installed)"106 depends on DRM_NOUVEAU107 default n108 help109 Say Y here if you want to use the GSP codepaths by default on110 Turing and Ampere GPUs.111