1dd08ebf6SMatthew Brost# SPDX-License-Identifier: GPL-2.0-only 2dd08ebf6SMatthew Brostconfig DRM_XE 3dd08ebf6SMatthew Brost tristate "Intel Xe Graphics" 4237412e4SLucas De Marchi depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) 5dd08ebf6SMatthew Brost select INTERVAL_TREE 6dd08ebf6SMatthew Brost # we need shmfs for the swappable backing store, and in particular 7dd08ebf6SMatthew Brost # the shmem_readpage() which depends upon tmpfs 8dd08ebf6SMatthew Brost select SHMEM 9dd08ebf6SMatthew Brost select TMPFS 10dd08ebf6SMatthew Brost select DRM_BUDDY 11d490ecf5SThomas Hellström select DRM_EXEC 12dd08ebf6SMatthew Brost select DRM_KMS_HELPER 13*0e6fec6dSArnd Bergmann select DRM_KUNIT_TEST_HELPERS if DRM_XE_KUNIT_TEST != n 14dd08ebf6SMatthew Brost select DRM_PANEL 15dd08ebf6SMatthew Brost select DRM_SUBALLOC_HELPER 1644e69495SMaarten Lankhorst select DRM_DISPLAY_DP_HELPER 1744e69495SMaarten Lankhorst select DRM_DISPLAY_HDCP_HELPER 1844e69495SMaarten Lankhorst select DRM_DISPLAY_HDMI_HELPER 1944e69495SMaarten Lankhorst select DRM_DISPLAY_HELPER 2044e69495SMaarten Lankhorst select DRM_MIPI_DSI 21dd08ebf6SMatthew Brost select RELAY 22dd08ebf6SMatthew Brost select IRQ_WORK 23d2197029SDave Airlie # xe depends on ACPI_VIDEO when ACPI is enabled 2444e69495SMaarten Lankhorst # but for select to work, need to select ACPI_VIDEO's dependencies, ick 2544e69495SMaarten Lankhorst select BACKLIGHT_CLASS_DEVICE if ACPI 2644e69495SMaarten Lankhorst select INPUT if ACPI 2744e69495SMaarten Lankhorst select ACPI_VIDEO if X86 && ACPI 2844e69495SMaarten Lankhorst select ACPI_BUTTON if ACPI 29d2197029SDave Airlie select ACPI_WMI if X86 && ACPI 30dd08ebf6SMatthew Brost select SYNC_FILE 31dd08ebf6SMatthew Brost select IOSF_MBI 32dd08ebf6SMatthew Brost select CRC32 33dd08ebf6SMatthew Brost select SND_HDA_I915 if SND_HDA_CORE 34dd08ebf6SMatthew Brost select CEC_CORE if CEC_NOTIFIER 35dd08ebf6SMatthew Brost select VMAP_PFN 36dd08ebf6SMatthew Brost select DRM_TTM 37dd08ebf6SMatthew Brost select DRM_TTM_HELPER 38d490ecf5SThomas Hellström select DRM_EXEC 39b06d47beSMatthew Brost select DRM_GPUVM 40dd08ebf6SMatthew Brost select DRM_SCHED 41dd08ebf6SMatthew Brost select MMU_NOTIFIER 42e7994850SRodrigo Vivi select WANT_DEV_COREDUMP 4387a4c85dSVitaly Lubart select AUXILIARY_BUS 44dd08ebf6SMatthew Brost help 45dd08ebf6SMatthew Brost Experimental driver for Intel Xe series GPUs 46dd08ebf6SMatthew Brost 47dd08ebf6SMatthew Brost If "M" is selected, the module will be called xe. 48dd08ebf6SMatthew Brost 4944e69495SMaarten Lankhorstconfig DRM_XE_DISPLAY 5044e69495SMaarten Lankhorst bool "Enable display support" 51bf3ff145SJani Nikula depends on DRM_XE && DRM_XE=m 5244e69495SMaarten Lankhorst select FB_IOMEM_HELPERS 5344e69495SMaarten Lankhorst select I2C 5444e69495SMaarten Lankhorst select I2C_ALGOBIT 5544e69495SMaarten Lankhorst default y 5644e69495SMaarten Lankhorst help 5744e69495SMaarten Lankhorst Disable this option only if you want to compile out display support. 5844e69495SMaarten Lankhorst 59dd08ebf6SMatthew Brostconfig DRM_XE_FORCE_PROBE 60dd08ebf6SMatthew Brost string "Force probe xe for selected Intel hardware IDs" 61dd08ebf6SMatthew Brost depends on DRM_XE 62dd08ebf6SMatthew Brost help 63dd08ebf6SMatthew Brost This is the default value for the xe.force_probe module 64dd08ebf6SMatthew Brost parameter. Using the module parameter overrides this option. 65dd08ebf6SMatthew Brost 66dd08ebf6SMatthew Brost Force probe the xe for Intel graphics devices that are 67dd08ebf6SMatthew Brost recognized but not properly supported by this kernel version. It is 68dd08ebf6SMatthew Brost recommended to upgrade to a kernel version with proper support as soon 69dd08ebf6SMatthew Brost as it is available. 70dd08ebf6SMatthew Brost 71dd08ebf6SMatthew Brost It can also be used to block the probe of recognized and fully 72dd08ebf6SMatthew Brost supported devices. 73dd08ebf6SMatthew Brost 74dd08ebf6SMatthew Brost Use "" to disable force probe. If in doubt, use this. 75dd08ebf6SMatthew Brost 76dd08ebf6SMatthew Brost Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed 77dd08ebf6SMatthew Brost devices. For example, "4500" or "4500,4571". 78dd08ebf6SMatthew Brost 79dd08ebf6SMatthew Brost Use "*" to force probe the driver for all known devices. 80dd08ebf6SMatthew Brost 81dd08ebf6SMatthew Brost Use "!" right before the ID to block the probe of the device. For 82dd08ebf6SMatthew Brost example, "4500,!4571" forces the probe of 4500 and blocks the probe of 83dd08ebf6SMatthew Brost 4571. 84dd08ebf6SMatthew Brost 85dd08ebf6SMatthew Brost Use "!*" to block the probe of the driver for all known devices. 86dd08ebf6SMatthew Brost 87dd08ebf6SMatthew Brostmenu "drm/Xe Debugging" 88dd08ebf6SMatthew Brostdepends on DRM_XE 89dd08ebf6SMatthew Brostdepends on EXPERT 90dd08ebf6SMatthew Brostsource "drivers/gpu/drm/xe/Kconfig.debug" 91dd08ebf6SMatthew Brostendmenu 92d2776564STejas Upadhyay 93d2776564STejas Upadhyaymenu "drm/xe Profile Guided Optimisation" 94d2776564STejas Upadhyay visible if EXPERT 95d2776564STejas Upadhyay depends on DRM_XE 96d2776564STejas Upadhyay source "drivers/gpu/drm/xe/Kconfig.profile" 97d2776564STejas Upadhyayendmenu 98