| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config DRM_I915 |
|---|
| 2 | 3 | tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" |
|---|
| 3 | 4 | depends on DRM |
|---|
| .. | .. |
|---|
| 15 | 16 | select IRQ_WORK |
|---|
| 16 | 17 | # i915 depends on ACPI_VIDEO when ACPI is enabled |
|---|
| 17 | 18 | # but for select to work, need to select ACPI_VIDEO's dependencies, ick |
|---|
| 18 | | - select BACKLIGHT_LCD_SUPPORT if ACPI |
|---|
| 19 | 19 | select BACKLIGHT_CLASS_DEVICE if ACPI |
|---|
| 20 | 20 | select INPUT if ACPI |
|---|
| 21 | 21 | select ACPI_VIDEO if ACPI |
|---|
| .. | .. |
|---|
| 25 | 25 | select CRC32 |
|---|
| 26 | 26 | select SND_HDA_I915 if SND_HDA_CORE |
|---|
| 27 | 27 | select CEC_CORE if CEC_NOTIFIER |
|---|
| 28 | + select VMAP_PFN |
|---|
| 28 | 29 | help |
|---|
| 29 | 30 | Choose this option if you have a system that has "Intel Graphics |
|---|
| 30 | 31 | Media Accelerator" or "HD Graphics" integrated graphics, |
|---|
| .. | .. |
|---|
| 42 | 43 | |
|---|
| 43 | 44 | If "M" is selected, the module will be called i915. |
|---|
| 44 | 45 | |
|---|
| 45 | | -config DRM_I915_ALPHA_SUPPORT |
|---|
| 46 | | - bool "Enable alpha quality support for new Intel hardware by default" |
|---|
| 46 | +config DRM_I915_FORCE_PROBE |
|---|
| 47 | + string "Force probe driver for selected new Intel hardware" |
|---|
| 47 | 48 | depends on DRM_I915 |
|---|
| 48 | | - default n |
|---|
| 49 | 49 | help |
|---|
| 50 | | - Choose this option if you have new Intel hardware and want to enable |
|---|
| 51 | | - the alpha quality i915 driver support for the hardware in this kernel |
|---|
| 52 | | - version. You can also enable the support at runtime using the module |
|---|
| 53 | | - parameter i915.alpha_support=1; this option changes the default for |
|---|
| 54 | | - that module parameter. |
|---|
| 50 | + This is the default value for the i915.force_probe module |
|---|
| 51 | + parameter. Using the module parameter overrides this option. |
|---|
| 55 | 52 | |
|---|
| 56 | | - It is recommended to upgrade to a kernel version with proper support |
|---|
| 57 | | - as soon as it is available. Generally fixes for platforms with alpha |
|---|
| 58 | | - support are not backported to older kernels. |
|---|
| 53 | + Force probe the driver for new Intel graphics devices that are |
|---|
| 54 | + recognized but not properly supported by this kernel version. It is |
|---|
| 55 | + recommended to upgrade to a kernel version with proper support as soon |
|---|
| 56 | + as it is available. |
|---|
| 59 | 57 | |
|---|
| 60 | | - If in doubt, say "N". |
|---|
| 58 | + Use "" to disable force probe. If in doubt, use this. |
|---|
| 59 | + |
|---|
| 60 | + Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed |
|---|
| 61 | + devices. For example, "4500" or "4500,4571". |
|---|
| 62 | + |
|---|
| 63 | + Use "*" to force probe the driver for all known devices. |
|---|
| 61 | 64 | |
|---|
| 62 | 65 | config DRM_I915_CAPTURE_ERROR |
|---|
| 63 | 66 | bool "Enable capturing GPU state following a hang" |
|---|
| .. | .. |
|---|
| 66 | 69 | help |
|---|
| 67 | 70 | This option enables capturing the GPU state when a hang is detected. |
|---|
| 68 | 71 | This information is vital for triaging hangs and assists in debugging. |
|---|
| 69 | | - Please report any hang to |
|---|
| 70 | | - https://bugs.freedesktop.org/enter_bug.cgi?product=DRI |
|---|
| 71 | | - for triaging. |
|---|
| 72 | + Please report any hang for triaging according to: |
|---|
| 73 | + https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs |
|---|
| 72 | 74 | |
|---|
| 73 | 75 | If in doubt, say "Y". |
|---|
| 74 | 76 | |
|---|
| .. | .. |
|---|
| 96 | 98 | If in doubt, say "Y". |
|---|
| 97 | 99 | |
|---|
| 98 | 100 | config DRM_I915_GVT |
|---|
| 99 | | - bool "Enable Intel GVT-g graphics virtualization host support" |
|---|
| 100 | | - depends on DRM_I915 |
|---|
| 101 | | - depends on 64BIT |
|---|
| 102 | | - default n |
|---|
| 103 | | - help |
|---|
| 101 | + bool "Enable Intel GVT-g graphics virtualization host support" |
|---|
| 102 | + depends on DRM_I915 |
|---|
| 103 | + depends on X86 |
|---|
| 104 | + depends on 64BIT |
|---|
| 105 | + default n |
|---|
| 106 | + help |
|---|
| 104 | 107 | Choose this option if you want to enable Intel GVT-g graphics |
|---|
| 105 | 108 | virtualization technology host support with integrated graphics. |
|---|
| 106 | 109 | With GVT-g, it's possible to have one integrated graphics |
|---|
| .. | .. |
|---|
| 131 | 134 | menu "drm/i915 Debugging" |
|---|
| 132 | 135 | depends on DRM_I915 |
|---|
| 133 | 136 | depends on EXPERT |
|---|
| 134 | | -source drivers/gpu/drm/i915/Kconfig.debug |
|---|
| 137 | +source "drivers/gpu/drm/i915/Kconfig.debug" |
|---|
| 138 | +endmenu |
|---|
| 139 | + |
|---|
| 140 | +menu "drm/i915 Profile Guided Optimisation" |
|---|
| 141 | + visible if EXPERT |
|---|
| 142 | + depends on DRM_I915 |
|---|
| 143 | + source "drivers/gpu/drm/i915/Kconfig.profile" |
|---|
| 144 | +endmenu |
|---|
| 145 | + |
|---|
| 146 | +menu "drm/i915 Unstable Evolution" |
|---|
| 147 | + visible if EXPERT && STAGING && BROKEN |
|---|
| 148 | + depends on DRM_I915 |
|---|
| 149 | + source "drivers/gpu/drm/i915/Kconfig.unstable" |
|---|
| 135 | 150 | endmenu |
|---|