99 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_XE3 tristate "Intel Xe Graphics"4 depends on DRM && PCI && MMU && (m || (y && KUNIT=y))5 select INTERVAL_TREE6 # we need shmfs for the swappable backing store, and in particular7 # the shmem_readpage() which depends upon tmpfs8 select SHMEM9 select TMPFS10 select DRM_BUDDY11 select DRM_EXEC12 select DRM_KMS_HELPER13 select DRM_KUNIT_TEST_HELPERS if DRM_XE_KUNIT_TEST != n14 select DRM_PANEL15 select DRM_SUBALLOC_HELPER16 select DRM_DISPLAY_DP_HELPER17 select DRM_DISPLAY_HDCP_HELPER18 select DRM_DISPLAY_HDMI_HELPER19 select DRM_DISPLAY_HELPER20 select DRM_MIPI_DSI21 select RELAY22 select IRQ_WORK23 # xe depends on ACPI_VIDEO when ACPI is enabled24 # but for select to work, need to select ACPI_VIDEO's dependencies, ick25 select BACKLIGHT_CLASS_DEVICE if ACPI26 select INPUT if ACPI27 select ACPI_VIDEO if X86 && ACPI28 select X86_PLATFORM_DEVICES if X86 && ACPI29 select ACPI_WMI if X86 && ACPI30 select SYNC_FILE31 select IOSF_MBI32 select CRC3233 select SND_HDA_I915 if SND_HDA_CORE34 select CEC_CORE if CEC_NOTIFIER35 select VMAP_PFN36 select DRM_TTM37 select DRM_TTM_HELPER38 select DRM_EXEC39 select DRM_GPUVM40 select DRM_SCHED41 select MMU_NOTIFIER42 select WANT_DEV_COREDUMP43 select AUXILIARY_BUS44 select HMM_MIRROR45 help46 Experimental driver for Intel Xe series GPUs47 48 If "M" is selected, the module will be called xe.49 50config DRM_XE_DISPLAY51 bool "Enable display support"52 depends on DRM_XE && DRM_XE=m53 select FB_IOMEM_HELPERS54 select I2C55 select I2C_ALGOBIT56 default y57 help58 Disable this option only if you want to compile out display support.59 60config DRM_XE_FORCE_PROBE61 string "Force probe xe for selected Intel hardware IDs"62 depends on DRM_XE63 help64 This is the default value for the xe.force_probe module65 parameter. Using the module parameter overrides this option.66 67 Force probe the xe for Intel graphics devices that are68 recognized but not properly supported by this kernel version. It is69 recommended to upgrade to a kernel version with proper support as soon70 as it is available.71 72 It can also be used to block the probe of recognized and fully73 supported devices.74 75 Use "" to disable force probe. If in doubt, use this.76 77 Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed78 devices. For example, "4500" or "4500,4571".79 80 Use "*" to force probe the driver for all known devices.81 82 Use "!" right before the ID to block the probe of the device. For83 example, "4500,!4571" forces the probe of 4500 and blocks the probe of84 4571.85 86 Use "!*" to block the probe of the driver for all known devices.87 88menu "drm/Xe Debugging"89depends on DRM_XE90depends on EXPERT91source "drivers/gpu/drm/xe/Kconfig.debug"92endmenu93 94menu "drm/xe Profile Guided Optimisation"95 visible if EXPERT96 depends on DRM_XE97 source "drivers/gpu/drm/xe/Kconfig.profile"98endmenu99