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