1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Intel Xe Graphics"
4 depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) && 64BIT
6 # we need shmfs for the swappable backing store, and in particular
7 # the shmem_readpage() which depends upon tmpfs
14 select DRM_SUBALLOC_HELPER
15 select DRM_DISPLAY_DP_HELPER
16 select DRM_DISPLAY_HDCP_HELPER
17 select DRM_DISPLAY_HDMI_HELPER
18 select DRM_DISPLAY_HELPER
22 # xe depends on ACPI_VIDEO when ACPI is enabled
23 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
24 select BACKLIGHT_CLASS_DEVICE if ACPI
26 select ACPI_VIDEO if X86 && ACPI
27 select ACPI_BUTTON if ACPI
28 select ACPI_WMI if X86 && ACPI
32 select SND_HDA_I915 if SND_HDA_CORE
33 select CEC_CORE if CEC_NOTIFIER
41 select WANT_DEV_COREDUMP
44 Experimental driver for Intel Xe series GPUs
46 If "M" is selected, the module will be called xe.
49 bool "Enable display support"
50 depends on DRM_XE && DRM_XE=m
51 select FB_IOMEM_HELPERS
56 Disable this option only if you want to compile out display support.
58 config DRM_XE_FORCE_PROBE
59 string "Force probe xe for selected Intel hardware IDs"
62 This is the default value for the xe.force_probe module
63 parameter. Using the module parameter overrides this option.
65 Force probe the xe for Intel graphics devices that are
66 recognized but not properly supported by this kernel version. It is
67 recommended to upgrade to a kernel version with proper support as soon
70 It can also be used to block the probe of recognized and fully
73 Use "" to disable force probe. If in doubt, use this.
75 Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
76 devices. For example, "4500" or "4500,4571".
78 Use "*" to force probe the driver for all known devices.
80 Use "!" right before the ID to block the probe of the device. For
81 example, "4500,!4571" forces the probe of 4500 and blocks the probe of
84 Use "!*" to block the probe of the driver for all known devices.
86 menu "drm/Xe Debugging"
89 source "drivers/gpu/drm/xe/Kconfig.debug"
92 menu "drm/xe Profile Guided Optimisation"
95 source "drivers/gpu/drm/xe/Kconfig.profile"