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