1# SPDX-License-Identifier: GPL-2.0-only 2config DRM_XE 3 tristate "Intel Xe Graphics" 4 depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) && 64BIT 5 select INTERVAL_TREE 6 # we need shmfs for the swappable backing store, and in particular 7 # the shmem_readpage() which depends upon tmpfs 8 select SHMEM 9 select TMPFS 10 select DRM_BUDDY 11 select DRM_EXEC 12 select DRM_KMS_HELPER 13 select DRM_PANEL 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 19 select DRM_MIPI_DSI 20 select RELAY 21 select IRQ_WORK 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 25 select INPUT if ACPI 26 select ACPI_VIDEO if X86 && ACPI 27 select ACPI_BUTTON if ACPI 28 select ACPI_WMI if X86 && ACPI 29 select SYNC_FILE 30 select IOSF_MBI 31 select CRC32 32 select SND_HDA_I915 if SND_HDA_CORE 33 select CEC_CORE if CEC_NOTIFIER 34 select VMAP_PFN 35 select DRM_TTM 36 select DRM_TTM_HELPER 37 select DRM_EXEC 38 select DRM_GPUVM 39 select DRM_SCHED 40 select MMU_NOTIFIER 41 select WANT_DEV_COREDUMP 42 select AUXILIARY_BUS 43 help 44 Experimental driver for Intel Xe series GPUs 45 46 If "M" is selected, the module will be called xe. 47 48config DRM_XE_DISPLAY 49 bool "Enable display support" 50 depends on DRM_XE && DRM_XE=m 51 select FB_IOMEM_HELPERS 52 select I2C 53 select I2C_ALGOBIT 54 default y 55 help 56 Disable this option only if you want to compile out display support. 57 58config DRM_XE_FORCE_PROBE 59 string "Force probe xe for selected Intel hardware IDs" 60 depends on DRM_XE 61 help 62 This is the default value for the xe.force_probe module 63 parameter. Using the module parameter overrides this option. 64 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 68 as it is available. 69 70 It can also be used to block the probe of recognized and fully 71 supported devices. 72 73 Use "" to disable force probe. If in doubt, use this. 74 75 Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed 76 devices. For example, "4500" or "4500,4571". 77 78 Use "*" to force probe the driver for all known devices. 79 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 82 4571. 83 84 Use "!*" to block the probe of the driver for all known devices. 85 86menu "drm/Xe Debugging" 87depends on DRM_XE 88depends on EXPERT 89source "drivers/gpu/drm/xe/Kconfig.debug" 90endmenu 91 92menu "drm/xe Profile Guided Optimisation" 93 visible if EXPERT 94 depends on DRM_XE 95 source "drivers/gpu/drm/xe/Kconfig.profile" 96endmenu 97