xref: /linux/drivers/gpu/drm/xe/Kconfig (revision d490ecf577903ce5a9e6a3bb3bd08b5a550719c7)
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
11*d490ecf5SThomas 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
25*d490ecf5SThomas 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
30dd08ebf6SMatthew Brost	help
31dd08ebf6SMatthew Brost	  Experimental driver for Intel Xe series GPUs
32dd08ebf6SMatthew Brost
33dd08ebf6SMatthew Brost	  If "M" is selected, the module will be called xe.
34dd08ebf6SMatthew Brost
35dd08ebf6SMatthew Brostconfig DRM_XE_FORCE_PROBE
36dd08ebf6SMatthew Brost	string "Force probe xe for selected Intel hardware IDs"
37dd08ebf6SMatthew Brost	depends on DRM_XE
38dd08ebf6SMatthew Brost	help
39dd08ebf6SMatthew Brost	  This is the default value for the xe.force_probe module
40dd08ebf6SMatthew Brost	  parameter. Using the module parameter overrides this option.
41dd08ebf6SMatthew Brost
42dd08ebf6SMatthew Brost	  Force probe the xe for Intel graphics devices that are
43dd08ebf6SMatthew Brost	  recognized but not properly supported by this kernel version. It is
44dd08ebf6SMatthew Brost	  recommended to upgrade to a kernel version with proper support as soon
45dd08ebf6SMatthew Brost	  as it is available.
46dd08ebf6SMatthew Brost
47dd08ebf6SMatthew Brost	  It can also be used to block the probe of recognized and fully
48dd08ebf6SMatthew Brost	  supported devices.
49dd08ebf6SMatthew Brost
50dd08ebf6SMatthew Brost	  Use "" to disable force probe. If in doubt, use this.
51dd08ebf6SMatthew Brost
52dd08ebf6SMatthew Brost	  Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
53dd08ebf6SMatthew Brost	  devices. For example, "4500" or "4500,4571".
54dd08ebf6SMatthew Brost
55dd08ebf6SMatthew Brost	  Use "*" to force probe the driver for all known devices.
56dd08ebf6SMatthew Brost
57dd08ebf6SMatthew Brost	  Use "!" right before the ID to block the probe of the device. For
58dd08ebf6SMatthew Brost	  example, "4500,!4571" forces the probe of 4500 and blocks the probe of
59dd08ebf6SMatthew Brost	  4571.
60dd08ebf6SMatthew Brost
61dd08ebf6SMatthew Brost	  Use "!*" to block the probe of the driver for all known devices.
62dd08ebf6SMatthew Brost
63dd08ebf6SMatthew Brostmenu "drm/Xe Debugging"
64dd08ebf6SMatthew Brostdepends on DRM_XE
65dd08ebf6SMatthew Brostdepends on EXPERT
66dd08ebf6SMatthew Brostsource "drivers/gpu/drm/xe/Kconfig.debug"
67dd08ebf6SMatthew Brostendmenu
68d2776564STejas Upadhyay
69d2776564STejas Upadhyaymenu "drm/xe Profile Guided Optimisation"
70d2776564STejas Upadhyay	visible if EXPERT
71d2776564STejas Upadhyay	depends on DRM_XE
72d2776564STejas Upadhyay	source "drivers/gpu/drm/xe/Kconfig.profile"
73d2776564STejas Upadhyayendmenu
74