| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config DRM_NOUVEAU |
|---|
| 2 | 3 | tristate "Nouveau (NVIDIA) cards" |
|---|
| 3 | 4 | depends on DRM && PCI && MMU |
|---|
| 4 | | - select FW_LOADER |
|---|
| 5 | + select IOMMU_API |
|---|
| 6 | + select FW_LOADER |
|---|
| 5 | 7 | select DRM_KMS_HELPER |
|---|
| 6 | 8 | select DRM_TTM |
|---|
| 7 | | - select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT |
|---|
| 9 | + select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT |
|---|
| 8 | 10 | select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT |
|---|
| 9 | 11 | select X86_PLATFORM_DEVICES if ACPI && X86 |
|---|
| 10 | 12 | select ACPI_WMI if ACPI && X86 |
|---|
| 11 | 13 | select MXM_WMI if ACPI && X86 |
|---|
| 12 | 14 | select POWER_SUPPLY |
|---|
| 13 | 15 | # Similar to i915, we need to select ACPI_VIDEO and it's dependencies |
|---|
| 14 | | - select BACKLIGHT_LCD_SUPPORT if ACPI && X86 |
|---|
| 15 | 16 | select BACKLIGHT_CLASS_DEVICE if ACPI && X86 |
|---|
| 16 | 17 | select INPUT if ACPI && X86 |
|---|
| 17 | 18 | select THERMAL if ACPI && X86 |
|---|
| 18 | 19 | select ACPI_VIDEO if ACPI && X86 |
|---|
| 20 | + select SND_HDA_COMPONENT if SND_HDA_CORE |
|---|
| 19 | 21 | help |
|---|
| 20 | 22 | Choose this option for open-source NVIDIA support. |
|---|
| 21 | 23 | |
|---|
| 22 | 24 | config NOUVEAU_LEGACY_CTX_SUPPORT |
|---|
| 23 | 25 | bool "Nouveau legacy context support" |
|---|
| 24 | 26 | depends on DRM_NOUVEAU |
|---|
| 25 | | - select DRM_VM |
|---|
| 27 | + select DRM_LEGACY |
|---|
| 26 | 28 | default y |
|---|
| 27 | 29 | help |
|---|
| 28 | 30 | There was a version of the nouveau DDX that relied on legacy |
|---|
| .. | .. |
|---|
| 74 | 76 | help |
|---|
| 75 | 77 | Say Y here if you want to enable verbose MMU debug output. |
|---|
| 76 | 78 | |
|---|
| 79 | +config NOUVEAU_DEBUG_PUSH |
|---|
| 80 | + bool "Enable additional push buffer debugging" |
|---|
| 81 | + depends on DRM_NOUVEAU |
|---|
| 82 | + default n |
|---|
| 83 | + help |
|---|
| 84 | + Say Y here if you want to enable verbose push buffer debug output |
|---|
| 85 | + and sanity checks. |
|---|
| 86 | + |
|---|
| 77 | 87 | config DRM_NOUVEAU_BACKLIGHT |
|---|
| 78 | 88 | bool "Support for backlight control" |
|---|
| 79 | 89 | depends on DRM_NOUVEAU |
|---|
| .. | .. |
|---|
| 81 | 91 | help |
|---|
| 82 | 92 | Say Y here if you want to control the backlight of your display |
|---|
| 83 | 93 | (e.g. a laptop panel). |
|---|
| 94 | + |
|---|
| 95 | +config DRM_NOUVEAU_SVM |
|---|
| 96 | + bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" |
|---|
| 97 | + depends on DEVICE_PRIVATE |
|---|
| 98 | + depends on DRM_NOUVEAU |
|---|
| 99 | + depends on MMU |
|---|
| 100 | + depends on STAGING |
|---|
| 101 | + select HMM_MIRROR |
|---|
| 102 | + select MMU_NOTIFIER |
|---|
| 103 | + default n |
|---|
| 104 | + help |
|---|
| 105 | + Say Y here if you want to enable experimental support for |
|---|
| 106 | + Shared Virtual Memory (SVM). |
|---|