# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_DRM_I915[0m
tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
depends on [31mCONFIG_DRM[0m
depends on [31mCONFIG_X86[0m && [31mCONFIG_PCI[0m
select [31mCONFIG_INTEL_GTT[0m
select [31mCONFIG_INTERVAL_TREE[0m
# we need shmfs for the swappable backing store, and in particular
# the shmem_readpage() which depends upon tmpfs
select [31mCONFIG_SHMEM[0m
select [31mCONFIG_TMPFS[0m
select [31mCONFIG_DRM_KMS_HELPER[0m
select [31mCONFIG_DRM_PANEL[0m
select [31mCONFIG_DRM_MIPI_DSI[0m
select [31mCONFIG_RELAY[0m
select [31mCONFIG_IRQ_WORK[0m
# i915 depends on [31mCONFIG_ACPI_VIDEO[0m when [31mCONFIG_ACPI[0m is enabled
# but for select to work, need to select [31mCONFIG_ACPI_VIDEO[0m's dependencies, ick
select [31mCONFIG_BACKLIGHT_CLASS_DEVICE[0m if [31mCONFIG_ACPI[0m
select [31mCONFIG_INPUT[0m if [31mCONFIG_ACPI[0m
select [31mCONFIG_ACPI_VIDEO[0m if [31mCONFIG_ACPI[0m
select [31mCONFIG_ACPI_BUTTON[0m if [31mCONFIG_ACPI[0m
select [31mCONFIG_SYNC_FILE[0m
select [31mCONFIG_IOSF_MBI[0m
select [31mCONFIG_CRC32[0m
select [31mCONFIG_SND_HDA_I915[0m if [31mCONFIG_SND_HDA_CORE[0m
select [31mCONFIG_CEC_CORE[0m if [31mCONFIG_CEC_NOTIFIER[0m
help
Choose this option if you have a system that has "Intel Graphics
Media Accelerator" or "HD Graphics" integrated graphics,
including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
Core i5, Core i7 as well as Atom CPUs with integrated graphics.
This driver is used by the Intel driver in X.org 6.8 and
XFree86 4.4 and above. It replaces the older i830 module that
supported a subset of the hardware in older X.org releases.
Note that the older i810/i815 chipsets require the use of the
i810 driver instead, and the Atom z5xx series has an entirely
different implementation.
If "M" is selected, the module will be called i915.
config [31mCONFIG_DRM_I915_ALPHA_SUPPORT[0m
bool "Enable alpha quality support for new Intel hardware by default"
depends on [31mCONFIG_DRM_I915[0m
help
This option is deprecated. Use [31mCONFIG_DRM_I915_FORCE_PROBE[0m option instead.
config [31mCONFIG_DRM_I915_FORCE_PROBE[0m
string "Force probe driver for selected new Intel hardware"
depends on [31mCONFIG_DRM_I915[0m
default "*" if [31mCONFIG_DRM_I915_ALPHA_SUPPORT[0m
help
This is the default value for the i915.force_probe module
parameter. Using the module parameter overrides this option.
Force probe the driver for new Intel graphics devices that are
recognized but not properly supported by this kernel version. It is
recommended to upgrade to a kernel version with proper support as soon
as it is available.
Use "" to disable force probe. If in doubt, use this.
Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed
devices. For example, "4500" or "4500,4571".
Use "*" to force probe the driver for all known devices.
config [31mCONFIG_DRM_I915_CAPTURE_ERROR[0m
bool "Enable capturing GPU state following a hang"
depends on [31mCONFIG_DRM_I915[0m
default y
help
This option enables capturing the GPU state when a hang is detected.
This information is vital for triaging hangs and assists in debugging.
Please report any hang to
https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
for triaging.
If in doubt, say "Y".
config [31mCONFIG_DRM_I915_COMPRESS_ERROR[0m
bool "Compress GPU error state"
depends on [31mCONFIG_DRM_I915_CAPTURE_ERROR[0m
select [31mCONFIG_ZLIB_DEFLATE[0m
default y
help
This option selects [31mCONFIG_ZLIB_DEFLATE[0m if it isn't already
selected and causes any error state captured upon a GPU hang
to be compressed using zlib.
If in doubt, say "Y".
config [31mCONFIG_DRM_I915_USERPTR[0m
bool "Always enable userptr support"
depends on [31mCONFIG_DRM_I915[0m
select [31mCONFIG_MMU_NOTIFIER[0m
default y
help
This option selects CONFIG_MMU_NOTIFIER if it isn't already
selected to enabled full userptr support.
If in doubt, say "Y".
config [31mCONFIG_DRM_I915_GVT[0m
bool "Enable Intel GVT-g graphics virtualization host support"
depends on [31mCONFIG_DRM_I915[0m
depends on [31mCONFIG_64BIT[0m
default n
help
Choose this option if you want to enable Intel GVT-g graphics
virtualization technology host support with integrated graphics.
With GVT-g, it's possible to have one integrated graphics
device shared by multiple VMs under different hypervisors.
Note that at least one hypervisor like Xen or [31mCONFIG_KVM[0m is required for
this driver to work, and it only supports newer device from
Broadwell+. For further information and setup guide, you can
visit: http://01.org/igvt-g.
Now it's just a stub to support the modifications of i915 for
GVT device model. It requires at least one MPT modules for Xen/[31mCONFIG_KVM[0m
and other components of GVT device model to work. Use it under
you own risk.
If in doubt, say "N".
config [31mCONFIG_DRM_I915_GVT_KVMGT[0m
tristate "Enable KVM/VFIO support for Intel GVT-g"
depends on [31mCONFIG_DRM_I915_GVT[0m
depends on [31mCONFIG_KVM[0m
depends on [31mCONFIG_VFIO_MDEV[0m && [31mCONFIG_VFIO_MDEV_DEVICE[0m
default n
help
Choose this option if you want to enable KVMGT support for
Intel GVT-g.
menu "drm/i915 Debugging"
depends on [31mCONFIG_DRM_I915[0m
depends on [31mCONFIG_EXPERT[0m
source "drivers/gpu/drm/i915/Kconfig.debug"
endmenu
menu "drm/i915 Profile Guided Optimisation"
visible if [31mCONFIG_EXPERT[0m
depends on [31mCONFIG_DRM_I915[0m
source "drivers/gpu/drm/i915/Kconfig.profile"
endmenu