xref: /linux/drivers/gpu/drm/xe/Kconfig (revision 25768de50b1f2dbb6ea44bd5148a87fe2c9c3688)
1dd08ebf6SMatthew Brost# SPDX-License-Identifier: GPL-2.0-only
2dd08ebf6SMatthew Brostconfig DRM_XE
3dd08ebf6SMatthew Brost	tristate "Intel Xe Graphics"
405b8b6ddSGeert Uytterhoeven	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
11*f1d730cbSThomas Zimmermann	select DRM_CLIENT_SELECTION
12d490ecf5SThomas Hellström	select DRM_EXEC
13dd08ebf6SMatthew Brost	select DRM_KMS_HELPER
140e6fec6dSArnd Bergmann	select DRM_KUNIT_TEST_HELPERS if DRM_XE_KUNIT_TEST != n
15dd08ebf6SMatthew Brost	select DRM_PANEL
16dd08ebf6SMatthew Brost	select DRM_SUBALLOC_HELPER
177fe302aeSGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
18f6882661SDmitry Baryshkov	select DRM_DISPLAY_DSC_HELPER
1995734469SGeert Uytterhoeven	select DRM_DISPLAY_HDCP_HELPER
20d7c128cbSGeert Uytterhoeven	select DRM_DISPLAY_HDMI_HELPER
2105b8b6ddSGeert Uytterhoeven	select DRM_DISPLAY_HELPER
2244e69495SMaarten Lankhorst	select DRM_MIPI_DSI
23dd08ebf6SMatthew Brost	select RELAY
24dd08ebf6SMatthew Brost	select IRQ_WORK
25d2197029SDave Airlie	# xe depends on ACPI_VIDEO when ACPI is enabled
2644e69495SMaarten Lankhorst	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
2744e69495SMaarten Lankhorst	select BACKLIGHT_CLASS_DEVICE if ACPI
2844e69495SMaarten Lankhorst	select INPUT if ACPI
2944e69495SMaarten Lankhorst	select ACPI_VIDEO if X86 && ACPI
3067a9e86dSLu Yao	select X86_PLATFORM_DEVICES if X86 && ACPI
31d2197029SDave Airlie	select ACPI_WMI if X86 && ACPI
32dd08ebf6SMatthew Brost	select SYNC_FILE
33dd08ebf6SMatthew Brost	select IOSF_MBI
34dd08ebf6SMatthew Brost	select CRC32
35dd08ebf6SMatthew Brost	select SND_HDA_I915 if SND_HDA_CORE
36dd08ebf6SMatthew Brost	select CEC_CORE if CEC_NOTIFIER
37dd08ebf6SMatthew Brost	select VMAP_PFN
38dd08ebf6SMatthew Brost	select DRM_TTM
39dd08ebf6SMatthew Brost	select DRM_TTM_HELPER
40d490ecf5SThomas Hellström	select DRM_EXEC
41b06d47beSMatthew Brost	select DRM_GPUVM
42dd08ebf6SMatthew Brost	select DRM_SCHED
43dd08ebf6SMatthew Brost	select MMU_NOTIFIER
44e7994850SRodrigo Vivi	select WANT_DEV_COREDUMP
4587a4c85dSVitaly Lubart	select AUXILIARY_BUS
4681e058a3SOak Zeng	select HMM_MIRROR
47dd08ebf6SMatthew Brost	help
48dd08ebf6SMatthew Brost	  Experimental driver for Intel Xe series GPUs
49dd08ebf6SMatthew Brost
50dd08ebf6SMatthew Brost	  If "M" is selected, the module will be called xe.
51dd08ebf6SMatthew Brost
5244e69495SMaarten Lankhorstconfig DRM_XE_DISPLAY
5344e69495SMaarten Lankhorst	bool "Enable display support"
54f663c6aeSNiklas Schnelle	depends on DRM_XE && DRM_XE=m && HAS_IOPORT
5544e69495SMaarten Lankhorst	select FB_IOMEM_HELPERS
5644e69495SMaarten Lankhorst	select I2C
5744e69495SMaarten Lankhorst	select I2C_ALGOBIT
5844e69495SMaarten Lankhorst	default y
5944e69495SMaarten Lankhorst	help
6044e69495SMaarten Lankhorst	  Disable this option only if you want to compile out display support.
6144e69495SMaarten Lankhorst
62dd08ebf6SMatthew Brostconfig DRM_XE_FORCE_PROBE
63dd08ebf6SMatthew Brost	string "Force probe xe for selected Intel hardware IDs"
64dd08ebf6SMatthew Brost	depends on DRM_XE
65dd08ebf6SMatthew Brost	help
66dd08ebf6SMatthew Brost	  This is the default value for the xe.force_probe module
67dd08ebf6SMatthew Brost	  parameter. Using the module parameter overrides this option.
68dd08ebf6SMatthew Brost
69dd08ebf6SMatthew Brost	  Force probe the xe for Intel graphics devices that are
70dd08ebf6SMatthew Brost	  recognized but not properly supported by this kernel version. It is
71dd08ebf6SMatthew Brost	  recommended to upgrade to a kernel version with proper support as soon
72dd08ebf6SMatthew Brost	  as it is available.
73dd08ebf6SMatthew Brost
74dd08ebf6SMatthew Brost	  It can also be used to block the probe of recognized and fully
75dd08ebf6SMatthew Brost	  supported devices.
76dd08ebf6SMatthew Brost
77dd08ebf6SMatthew Brost	  Use "" to disable force probe. If in doubt, use this.
78dd08ebf6SMatthew Brost
79dd08ebf6SMatthew Brost	  Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
80dd08ebf6SMatthew Brost	  devices. For example, "4500" or "4500,4571".
81dd08ebf6SMatthew Brost
82dd08ebf6SMatthew Brost	  Use "*" to force probe the driver for all known devices.
83dd08ebf6SMatthew Brost
84dd08ebf6SMatthew Brost	  Use "!" right before the ID to block the probe of the device. For
85dd08ebf6SMatthew Brost	  example, "4500,!4571" forces the probe of 4500 and blocks the probe of
86dd08ebf6SMatthew Brost	  4571.
87dd08ebf6SMatthew Brost
88dd08ebf6SMatthew Brost	  Use "!*" to block the probe of the driver for all known devices.
89dd08ebf6SMatthew Brost
90dd08ebf6SMatthew Brostmenu "drm/Xe Debugging"
91dd08ebf6SMatthew Brostdepends on DRM_XE
92dd08ebf6SMatthew Brostdepends on EXPERT
93dd08ebf6SMatthew Brostsource "drivers/gpu/drm/xe/Kconfig.debug"
94dd08ebf6SMatthew Brostendmenu
95d2776564STejas Upadhyay
96d2776564STejas Upadhyaymenu "drm/xe Profile Guided Optimisation"
97d2776564STejas Upadhyay	visible if EXPERT
98d2776564STejas Upadhyay	depends on DRM_XE
99d2776564STejas Upadhyay	source "drivers/gpu/drm/xe/Kconfig.profile"
100d2776564STejas Upadhyayendmenu
101