1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 24520f53aSDaniel Vetterconfig DRM_I915 34520f53aSDaniel Vetter tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" 44520f53aSDaniel Vetter depends on DRM 500fe639aSVille Syrjälä depends on X86 && PCI 6a8b2b8b0SSebastian Andrzej Siewior depends on !PREEMPT_RT 7ce3d4d7fSCasey Bowman select INTEL_GTT if X86 85cc9ed4bSChris Wilson select INTERVAL_TREE 94520f53aSDaniel Vetter # we need shmfs for the swappable backing store, and in particular 104520f53aSDaniel Vetter # the shmem_readpage() which depends upon tmpfs 114520f53aSDaniel Vetter select SHMEM 124520f53aSDaniel Vetter select TMPFS 131e0f6642SThomas Zimmermann select DRM_CLIENT_SELECTION 146a99099fSThomas Zimmermann select DRM_DISPLAY_DP_HELPER 154fc8cb47SThomas Zimmermann select DRM_DISPLAY_DSC_HELPER 161e0f6642SThomas Zimmermann select DRM_DISPLAY_HDCP_HELPER 174520f53aSDaniel Vetter select DRM_DISPLAY_HDMI_HELPER 18593e0622SJani Nikula select DRM_DISPLAY_HELPER 197e9804fdSJani Nikula select DRM_KMS_HELPER 204520844bSThomas Zimmermann select DRM_PANEL 21f8240835SAkash Goel select DRM_MIPI_DSI 22000458b5SUwe Kleine-König select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION 23000458b5SUwe Kleine-König select RELAY 2481c0ed21SChris Wilson select I2C 254520f53aSDaniel Vetter select I2C_ALGOBIT 264520f53aSDaniel Vetter select IRQ_WORK 274520f53aSDaniel Vetter # i915 depends on ACPI_VIDEO when ACPI is enabled 284520f53aSDaniel Vetter # but for select to work, need to select ACPI_VIDEO's dependencies, ick 29fe7aebb4SHans de Goede select BACKLIGHT_CLASS_DEVICE if ACPI 30fe7aebb4SHans de Goede select INPUT if ACPI 314520f53aSDaniel Vetter select X86_PLATFORM_DEVICES if ACPI 32fec0445cSChris Wilson select ACPI_WMI if ACPI 33f0e204e0SMullati, Siva select ACPI_VIDEO if ACPI 34a25bcaddSNicholas Piggin select SYNC_FILE 35a57942bfSTakashi Iwai select IOSF_MBI if X86 369c229127SNeil Armstrong select CRC32 37534a6687SChristoph Hellwig select SND_HDA_I915 if SND_HDA_CORE 38d1487389SThomas Hellström select CEC_CORE if CEC_NOTIFIER 396387a3c4SArunpravin select VMAP_PFN 401e3dc1d8STomas Winkler select DRM_TTM 414520f53aSDaniel Vetter select DRM_BUDDY 424520f53aSDaniel Vetter select AUXILIARY_BUS 434520f53aSDaniel Vetter help 444520f53aSDaniel Vetter Choose this option if you have a system that has "Intel Graphics 454520f53aSDaniel Vetter Media Accelerator" or "HD Graphics" integrated graphics, 464520f53aSDaniel Vetter including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, 47352cb4efSJani Nikula G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3, 48352cb4efSJani Nikula Core i5, Core i7 as well as Atom CPUs with integrated graphics. 49352cb4efSJani Nikula 50352cb4efSJani Nikula This driver is used by the Intel driver in X.org 6.8 and 514520f53aSDaniel Vetter XFree86 4.4 and above. It replaces the older i830 module that 524520f53aSDaniel Vetter supported a subset of the hardware in older X.org releases. 534520f53aSDaniel Vetter 544520f53aSDaniel Vetter Note that the older i810/i815 chipsets require the use of the 554520f53aSDaniel Vetter i810 driver instead, and the Atom z5xx series has an entirely 56352cb4efSJani Nikula different implementation. 57352cb4efSJani Nikula 587ef5ef5cSJani Nikula If "M" is selected, the module will be called i915. 59157821fbSRodrigo Vivi 607ef5ef5cSJani Nikulaconfig DRM_I915_FORCE_PROBE 617ef5ef5cSJani Nikula string "Force probe i915 for selected Intel hardware IDs" 627ef5ef5cSJani Nikula depends on DRM_I915 637ef5ef5cSJani Nikula help 644520f53aSDaniel Vetter This is the default value for the i915.force_probe module 6579c901c9SJani Nikula parameter. Using the module parameter overrides this option. 6679c901c9SJani Nikula 6779c901c9SJani Nikula Force probe the i915 driver for Intel graphics devices that are 6879c901c9SJani Nikula recognized but not properly supported by this kernel version. Force 6979c901c9SJani Nikula probing an unsupported device taints the kernel. It is recommended to 707ef5ef5cSJani Nikula upgrade to a kernel version with proper support as soon as it is 71157821fbSRodrigo Vivi available. 72157821fbSRodrigo Vivi 73157821fbSRodrigo Vivi It can also be used to block the probe of recognized and fully 747ef5ef5cSJani Nikula supported devices. 757ef5ef5cSJani Nikula 76157821fbSRodrigo Vivi Use "" to disable force probe. If in doubt, use this. 777ef5ef5cSJani Nikula 787ef5ef5cSJani Nikula Use "<pci-id>[,<pci-id>,...]" to force probe the i915 for listed 7979c901c9SJani Nikula devices. For example, "4500" or "4500,4571". 8079c901c9SJani Nikula 81755412e2SChris Wilson Use "*" to force probe the driver for all known devices. Not 82157821fbSRodrigo Vivi recommended. 83157821fbSRodrigo Vivi 84157821fbSRodrigo Vivi Use "!" right before the ID to block the probe of the device. For 85157821fbSRodrigo Vivi example, "4500,!4571" forces the probe of 4500 and blocks the probe of 86157821fbSRodrigo Vivi 4571. 87157821fbSRodrigo Vivi 8898a2f411SChris Wilson Use "!*" to block the probe of the driver for all known devices. 8998a2f411SChris Wilson 9098a2f411SChris Wilsonconfig DRM_I915_CAPTURE_ERROR 9198a2f411SChris Wilson bool "Enable capturing GPU state following a hang" 9298a2f411SChris Wilson depends on DRM_I915 9398a2f411SChris Wilson default y 9498a2f411SChris Wilson help 95ddae4d7aSJani Nikula This option enables capturing the GPU state when a hang is detected. 96f8e9325fSJani Nikula This information is vital for triaging hangs and assists in debugging. 9798a2f411SChris Wilson Please report any hang for triaging according to: 9898a2f411SChris Wilson https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html 9998a2f411SChris Wilson 1000a97015dSChris Wilson If in doubt, say "Y". 1010a97015dSChris Wilson 1020a97015dSChris Wilsonconfig DRM_I915_COMPRESS_ERROR 1030a97015dSChris Wilson bool "Compress GPU error state" 1040a97015dSChris Wilson depends on DRM_I915_CAPTURE_ERROR 1050a97015dSChris Wilson select ZLIB_DEFLATE 1060a97015dSChris Wilson default y 1070a97015dSChris Wilson help 1080a97015dSChris Wilson This option selects ZLIB_DEFLATE if it isn't already 1090a97015dSChris Wilson selected and causes any error state captured upon a GPU hang 1100a97015dSChris Wilson to be compressed using zlib. 1110a97015dSChris Wilson 112755412e2SChris Wilson If in doubt, say "Y". 113755412e2SChris Wilson 114755412e2SChris Wilsonconfig DRM_I915_USERPTR 115755412e2SChris Wilson bool "Always enable userptr support" 116755412e2SChris Wilson depends on DRM_I915 117755412e2SChris Wilson select MMU_NOTIFIER 118755412e2SChris Wilson default y 119755412e2SChris Wilson help 120755412e2SChris Wilson This option selects CONFIG_MMU_NOTIFIER if it isn't already 121755412e2SChris Wilson selected to enabled full userptr support. 122643a24b6STvrtko Ursulin 1238b750bf7SChristoph Hellwig If in doubt, say "Y". 1248b750bf7SChristoph Hellwig 1250ad35fedSZhi Wangconfig DRM_I915_GVT_KVMGT 126*338b655aSArnd Bergmann tristate "Enable KVM host support Intel GVT-g graphics virtualization" 1277093f5ffSZhenyu Wang depends on DRM_I915 128de858a05SArnd Bergmann depends on KVM_X86 1298b750bf7SChristoph Hellwig depends on 64BIT 1308b750bf7SChristoph Hellwig depends on VFIO 1318bf8c5eeSChristoph Hellwig select DRM_I915_GVT 1328b750bf7SChristoph Hellwig select KVM_EXTERNAL_WRITE_TRACKING 1330ad35fedSZhi Wang select VFIO_MDEV 1340ad35fedSZhi Wang 1350ad35fedSZhi Wang help 1360ad35fedSZhi Wang Choose this option if you want to enable Intel GVT-g graphics 1378b750bf7SChristoph Hellwig virtualization technology host support with integrated graphics. 1380ad35fedSZhi Wang With GVT-g, it's possible to have one integrated graphics 1398b750bf7SChristoph Hellwig device shared by multiple VMs under KVM. 1408b750bf7SChristoph Hellwig 1411a00897eSZhenyu Wang Note that this driver only supports newer device from Broadwell on. 1420ad35fedSZhi Wang For further information and setup guide, you can visit: 1430ad35fedSZhi Wang https://github.com/intel/gvt-linux/wiki. 1440ad35fedSZhi Wang 145e6aa7136SDaniele Ceraolo Spurio If in doubt, say "N". 146c974cf01SRodrigo Vivi 147e6aa7136SDaniele Ceraolo Spurioconfig DRM_I915_PXP 148e6aa7136SDaniele Ceraolo Spurio bool "Enable Intel PXP support" 149e6aa7136SDaniele Ceraolo Spurio depends on DRM_I915 150e6aa7136SDaniele Ceraolo Spurio depends on INTEL_MEI && INTEL_MEI_PXP 151c974cf01SRodrigo Vivi default n 152c974cf01SRodrigo Vivi help 153c974cf01SRodrigo Vivi PXP (Protected Xe Path) is an i915 component, available on graphics 154c974cf01SRodrigo Vivi version 12 and newer GPUs, that helps to establish the hardware 155e6aa7136SDaniele Ceraolo Spurio protected session and manage the status of the alive software session, 15691888b5bSImre Deak as well as its life cycle. 15791888b5bSImre Deak 15891888b5bSImre Deakconfig DRM_I915_DP_TUNNEL 15991888b5bSImre Deak bool "Enable DP tunnel support" 16091888b5bSImre Deak depends on DRM_I915 16191888b5bSImre Deak depends on USB4 16291888b5bSImre Deak select DRM_DISPLAY_DP_TUNNEL 16391888b5bSImre Deak default y 16491888b5bSImre Deak help 16591888b5bSImre Deak Choose this option to detect DP tunnels and enable the Bandwidth 16691888b5bSImre Deak Allocation mode for such tunnels. This allows using the maximum 16791888b5bSImre Deak resolution allowed by the link BW on all displays sharing the 16891888b5bSImre Deak link BW, for instance on a Thunderbolt link. 16991888b5bSImre Deak 170643a24b6STvrtko Ursulin If in doubt, say "Y". 171643a24b6STvrtko Ursulin 172643a24b6STvrtko Ursulinmenu "drm/i915 Debugging" 1738636a1f9SMasahiro Yamadadepends on DRM_I915 174643a24b6STvrtko Ursulindepends on EXPERT 1757ce99d24SChris Wilsonsource "drivers/gpu/drm/i915/Kconfig.debug" 1767ce99d24SChris Wilsonendmenu 1777ce99d24SChris Wilson 1787ce99d24SChris Wilsonmenu "drm/i915 Profile Guided Optimisation" 1797ce99d24SChris Wilson visible if EXPERT 1807ce99d24SChris Wilson depends on DRM_I915 181d9d54a53SChris Wilson source "drivers/gpu/drm/i915/Kconfig.profile" 1820b93efcaSRandy Dunlapendmenu 1830b93efcaSRandy Dunlap 184config DRM_I915_GVT 185 bool 186