1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Intel Xe Graphics"
4 depends on DRM && PCI && MMU && (m || (y && KUNIT=y))
6 # we need shmfs for the swappable backing store, and in particular
7 # the shmem_readpage() which depends upon tmpfs
11 select DRM_CLIENT_SELECTION
14 select DRM_KUNIT_TEST_HELPERS if DRM_XE_KUNIT_TEST != n
16 select DRM_SUBALLOC_HELPER
17 select DRM_DISPLAY_DP_HELPER
18 select DRM_DISPLAY_DSC_HELPER
19 select DRM_DISPLAY_HDCP_HELPER
20 select DRM_DISPLAY_HDMI_HELPER
21 select DRM_DISPLAY_HELPER
25 # xe depends on ACPI_VIDEO when ACPI is enabled
26 # but for select to work, need to select ACPI_VIDEO's dependencies, ick
27 select BACKLIGHT_CLASS_DEVICE if ACPI
29 select ACPI_VIDEO if X86 && ACPI
30 select X86_PLATFORM_DEVICES if X86 && ACPI
31 select ACPI_WMI if X86 && ACPI
35 select SND_HDA_I915 if SND_HDA_CORE
36 select CEC_CORE if CEC_NOTIFIER
44 select WANT_DEV_COREDUMP
48 Experimental driver for Intel Xe series GPUs
50 If "M" is selected, the module will be called xe.
53 bool "Enable display support"
54 depends on DRM_XE && DRM_XE=m && HAS_IOPORT
55 select FB_IOMEM_HELPERS
60 Disable this option only if you want to compile out display support.
62 config DRM_XE_FORCE_PROBE
63 string "Force probe xe for selected Intel hardware IDs"
66 This is the default value for the xe.force_probe module
67 parameter. Using the module parameter overrides this option.
69 Force probe the xe for Intel graphics devices that are
70 recognized but not properly supported by this kernel version. It is
71 recommended to upgrade to a kernel version with proper support as soon
74 It can also be used to block the probe of recognized and fully
77 Use "" to disable force probe. If in doubt, use this.
79 Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
80 devices. For example, "4500" or "4500,4571".
82 Use "*" to force probe the driver for all known devices.
84 Use "!" right before the ID to block the probe of the device. For
85 example, "4500,!4571" forces the probe of 4500 and blocks the probe of
88 Use "!*" to block the probe of the driver for all known devices.
90 menu "drm/Xe Debugging"
93 source "drivers/gpu/drm/xe/Kconfig.debug"
96 menu "drm/xe Profile Guided Optimisation"
99 source "drivers/gpu/drm/xe/Kconfig.profile"