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