xref: /linux/drivers/gpu/drm/xe/Kconfig (revision 87a4c85d3a3ed579c86fd2612715ccb94c4001ff)
1dd08ebf6SMatthew Brost# SPDX-License-Identifier: GPL-2.0-only
2dd08ebf6SMatthew Brostconfig DRM_XE
3dd08ebf6SMatthew Brost	tristate "Intel Xe Graphics"
4dd08ebf6SMatthew Brost	depends on DRM && PCI && MMU
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
13dd08ebf6SMatthew Brost	select DRM_PANEL
14dd08ebf6SMatthew Brost	select DRM_SUBALLOC_HELPER
15dd08ebf6SMatthew Brost	select RELAY
16dd08ebf6SMatthew Brost	select IRQ_WORK
17dd08ebf6SMatthew Brost	select SYNC_FILE
18dd08ebf6SMatthew Brost	select IOSF_MBI
19dd08ebf6SMatthew Brost	select CRC32
20dd08ebf6SMatthew Brost	select SND_HDA_I915 if SND_HDA_CORE
21dd08ebf6SMatthew Brost	select CEC_CORE if CEC_NOTIFIER
22dd08ebf6SMatthew Brost	select VMAP_PFN
23dd08ebf6SMatthew Brost	select DRM_TTM
24dd08ebf6SMatthew Brost	select DRM_TTM_HELPER
25d490ecf5SThomas Hellström	select DRM_EXEC
26b06d47beSMatthew Brost	select DRM_GPUVM
27dd08ebf6SMatthew Brost	select DRM_SCHED
28dd08ebf6SMatthew Brost	select MMU_NOTIFIER
29e7994850SRodrigo Vivi	select WANT_DEV_COREDUMP
30*87a4c85dSVitaly Lubart	select AUXILIARY_BUS
31dd08ebf6SMatthew Brost	help
32dd08ebf6SMatthew Brost	  Experimental driver for Intel Xe series GPUs
33dd08ebf6SMatthew Brost
34dd08ebf6SMatthew Brost	  If "M" is selected, the module will be called xe.
35dd08ebf6SMatthew Brost
36dd08ebf6SMatthew Brostconfig DRM_XE_FORCE_PROBE
37dd08ebf6SMatthew Brost	string "Force probe xe for selected Intel hardware IDs"
38dd08ebf6SMatthew Brost	depends on DRM_XE
39dd08ebf6SMatthew Brost	help
40dd08ebf6SMatthew Brost	  This is the default value for the xe.force_probe module
41dd08ebf6SMatthew Brost	  parameter. Using the module parameter overrides this option.
42dd08ebf6SMatthew Brost
43dd08ebf6SMatthew Brost	  Force probe the xe for Intel graphics devices that are
44dd08ebf6SMatthew Brost	  recognized but not properly supported by this kernel version. It is
45dd08ebf6SMatthew Brost	  recommended to upgrade to a kernel version with proper support as soon
46dd08ebf6SMatthew Brost	  as it is available.
47dd08ebf6SMatthew Brost
48dd08ebf6SMatthew Brost	  It can also be used to block the probe of recognized and fully
49dd08ebf6SMatthew Brost	  supported devices.
50dd08ebf6SMatthew Brost
51dd08ebf6SMatthew Brost	  Use "" to disable force probe. If in doubt, use this.
52dd08ebf6SMatthew Brost
53dd08ebf6SMatthew Brost	  Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
54dd08ebf6SMatthew Brost	  devices. For example, "4500" or "4500,4571".
55dd08ebf6SMatthew Brost
56dd08ebf6SMatthew Brost	  Use "*" to force probe the driver for all known devices.
57dd08ebf6SMatthew Brost
58dd08ebf6SMatthew Brost	  Use "!" right before the ID to block the probe of the device. For
59dd08ebf6SMatthew Brost	  example, "4500,!4571" forces the probe of 4500 and blocks the probe of
60dd08ebf6SMatthew Brost	  4571.
61dd08ebf6SMatthew Brost
62dd08ebf6SMatthew Brost	  Use "!*" to block the probe of the driver for all known devices.
63dd08ebf6SMatthew Brost
64dd08ebf6SMatthew Brostmenu "drm/Xe Debugging"
65dd08ebf6SMatthew Brostdepends on DRM_XE
66dd08ebf6SMatthew Brostdepends on EXPERT
67dd08ebf6SMatthew Brostsource "drivers/gpu/drm/xe/Kconfig.debug"
68dd08ebf6SMatthew Brostendmenu
69d2776564STejas Upadhyay
70d2776564STejas Upadhyaymenu "drm/xe Profile Guided Optimisation"
71d2776564STejas Upadhyay	visible if EXPERT
72d2776564STejas Upadhyay	depends on DRM_XE
73d2776564STejas Upadhyay	source "drivers/gpu/drm/xe/Kconfig.profile"
74d2776564STejas Upadhyayendmenu
75