1 1.3 riastrad # SPDX-License-Identifier: GPL-2.0-only 2 1.1 riastrad config DRM_I915 3 1.1 riastrad tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" 4 1.1 riastrad depends on DRM 5 1.1 riastrad depends on X86 && PCI 6 1.1 riastrad select INTEL_GTT 7 1.2 riastrad select INTERVAL_TREE 8 1.1 riastrad # we need shmfs for the swappable backing store, and in particular 9 1.1 riastrad # the shmem_readpage() which depends upon tmpfs 10 1.1 riastrad select SHMEM 11 1.1 riastrad select TMPFS 12 1.1 riastrad select DRM_KMS_HELPER 13 1.2 riastrad select DRM_PANEL 14 1.2 riastrad select DRM_MIPI_DSI 15 1.3 riastrad select RELAY 16 1.3 riastrad select IRQ_WORK 17 1.1 riastrad # i915 depends on ACPI_VIDEO when ACPI is enabled 18 1.1 riastrad # but for select to work, need to select ACPI_VIDEO's dependencies, ick 19 1.1 riastrad select BACKLIGHT_CLASS_DEVICE if ACPI 20 1.1 riastrad select INPUT if ACPI 21 1.1 riastrad select ACPI_VIDEO if ACPI 22 1.1 riastrad select ACPI_BUTTON if ACPI 23 1.3 riastrad select SYNC_FILE 24 1.3 riastrad select IOSF_MBI 25 1.3 riastrad select CRC32 26 1.3 riastrad select SND_HDA_I915 if SND_HDA_CORE 27 1.3 riastrad select CEC_CORE if CEC_NOTIFIER 28 1.1 riastrad help 29 1.1 riastrad Choose this option if you have a system that has "Intel Graphics 30 1.1 riastrad Media Accelerator" or "HD Graphics" integrated graphics, 31 1.1 riastrad including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, 32 1.1 riastrad G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3, 33 1.1 riastrad Core i5, Core i7 as well as Atom CPUs with integrated graphics. 34 1.3 riastrad 35 1.3 riastrad This driver is used by the Intel driver in X.org 6.8 and 36 1.3 riastrad XFree86 4.4 and above. It replaces the older i830 module that 37 1.3 riastrad supported a subset of the hardware in older X.org releases. 38 1.1 riastrad 39 1.1 riastrad Note that the older i810/i815 chipsets require the use of the 40 1.1 riastrad i810 driver instead, and the Atom z5xx series has an entirely 41 1.1 riastrad different implementation. 42 1.1 riastrad 43 1.3 riastrad If "M" is selected, the module will be called i915. 44 1.3 riastrad 45 1.3 riastrad config DRM_I915_ALPHA_SUPPORT 46 1.3 riastrad bool "Enable alpha quality support for new Intel hardware by default" 47 1.3 riastrad depends on DRM_I915 48 1.3 riastrad help 49 1.3 riastrad This option is deprecated. Use DRM_I915_FORCE_PROBE option instead. 50 1.3 riastrad 51 1.3 riastrad config DRM_I915_FORCE_PROBE 52 1.3 riastrad string "Force probe driver for selected new Intel hardware" 53 1.1 riastrad depends on DRM_I915 54 1.3 riastrad default "*" if DRM_I915_ALPHA_SUPPORT 55 1.3 riastrad help 56 1.3 riastrad This is the default value for the i915.force_probe module 57 1.3 riastrad parameter. Using the module parameter overrides this option. 58 1.3 riastrad 59 1.3 riastrad Force probe the driver for new Intel graphics devices that are 60 1.3 riastrad recognized but not properly supported by this kernel version. It is 61 1.3 riastrad recommended to upgrade to a kernel version with proper support as soon 62 1.3 riastrad as it is available. 63 1.3 riastrad 64 1.3 riastrad Use "" to disable force probe. If in doubt, use this. 65 1.3 riastrad 66 1.3 riastrad Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed 67 1.3 riastrad devices. For example, "4500" or "4500,4571". 68 1.3 riastrad 69 1.3 riastrad Use "*" to force probe the driver for all known devices. 70 1.3 riastrad 71 1.3 riastrad config DRM_I915_CAPTURE_ERROR 72 1.3 riastrad bool "Enable capturing GPU state following a hang" 73 1.3 riastrad depends on DRM_I915 74 1.3 riastrad default y 75 1.3 riastrad help 76 1.3 riastrad This option enables capturing the GPU state when a hang is detected. 77 1.3 riastrad This information is vital for triaging hangs and assists in debugging. 78 1.3 riastrad Please report any hang for triaging according to: 79 1.3 riastrad https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs 80 1.3 riastrad 81 1.3 riastrad If in doubt, say "Y". 82 1.3 riastrad 83 1.3 riastrad config DRM_I915_COMPRESS_ERROR 84 1.3 riastrad bool "Compress GPU error state" 85 1.3 riastrad depends on DRM_I915_CAPTURE_ERROR 86 1.3 riastrad select ZLIB_DEFLATE 87 1.3 riastrad default y 88 1.3 riastrad help 89 1.3 riastrad This option selects ZLIB_DEFLATE if it isn't already 90 1.3 riastrad selected and causes any error state captured upon a GPU hang 91 1.3 riastrad to be compressed using zlib. 92 1.3 riastrad 93 1.3 riastrad If in doubt, say "Y". 94 1.3 riastrad 95 1.3 riastrad config DRM_I915_USERPTR 96 1.3 riastrad bool "Always enable userptr support" 97 1.3 riastrad depends on DRM_I915 98 1.3 riastrad select MMU_NOTIFIER 99 1.3 riastrad default y 100 1.3 riastrad help 101 1.3 riastrad This option selects CONFIG_MMU_NOTIFIER if it isn't already 102 1.3 riastrad selected to enabled full userptr support. 103 1.3 riastrad 104 1.3 riastrad If in doubt, say "Y". 105 1.3 riastrad 106 1.3 riastrad config DRM_I915_GVT 107 1.3 riastrad bool "Enable Intel GVT-g graphics virtualization host support" 108 1.3 riastrad depends on DRM_I915 109 1.3 riastrad depends on 64BIT 110 1.1 riastrad default n 111 1.1 riastrad help 112 1.3 riastrad Choose this option if you want to enable Intel GVT-g graphics 113 1.3 riastrad virtualization technology host support with integrated graphics. 114 1.3 riastrad With GVT-g, it's possible to have one integrated graphics 115 1.3 riastrad device shared by multiple VMs under different hypervisors. 116 1.3 riastrad 117 1.3 riastrad Note that at least one hypervisor like Xen or KVM is required for 118 1.3 riastrad this driver to work, and it only supports newer device from 119 1.3 riastrad Broadwell+. For further information and setup guide, you can 120 1.3 riastrad visit: http://01.org/igvt-g. 121 1.3 riastrad 122 1.3 riastrad Now it's just a stub to support the modifications of i915 for 123 1.3 riastrad GVT device model. It requires at least one MPT modules for Xen/KVM 124 1.3 riastrad and other components of GVT device model to work. Use it under 125 1.3 riastrad you own risk. 126 1.1 riastrad 127 1.1 riastrad If in doubt, say "N". 128 1.3 riastrad 129 1.3 riastrad config DRM_I915_GVT_KVMGT 130 1.3 riastrad tristate "Enable KVM/VFIO support for Intel GVT-g" 131 1.3 riastrad depends on DRM_I915_GVT 132 1.3 riastrad depends on KVM 133 1.3 riastrad depends on VFIO_MDEV && VFIO_MDEV_DEVICE 134 1.3 riastrad default n 135 1.3 riastrad help 136 1.3 riastrad Choose this option if you want to enable KVMGT support for 137 1.3 riastrad Intel GVT-g. 138 1.3 riastrad 139 1.3 riastrad menu "drm/i915 Debugging" 140 1.3 riastrad depends on DRM_I915 141 1.3 riastrad depends on EXPERT 142 1.3 riastrad source "drivers/gpu/drm/i915/Kconfig.debug" 143 1.3 riastrad endmenu 144 1.3 riastrad 145 1.3 riastrad menu "drm/i915 Profile Guided Optimisation" 146 1.3 riastrad visible if EXPERT 147 1.3 riastrad depends on DRM_I915 148 1.3 riastrad source "drivers/gpu/drm/i915/Kconfig.profile" 149 1.3 riastrad endmenu 150 1.3 riastrad 151 1.3 riastrad menu "drm/i915 Unstable Evolution" 152 1.3 riastrad visible if EXPERT && STAGING && BROKEN 153 1.3 riastrad depends on DRM_I915 154 1.3 riastrad source "drivers/gpu/drm/i915/Kconfig.unstable" 155 1.3 riastrad endmenu 156