xref: /linux/drivers/gpu/drm/xe/Kconfig (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_XE
3	tristate "Intel Xe Graphics"
4	depends on DRM && PCI && MMU && (m || (y && KUNIT=y))
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_KUNIT_TEST_HELPERS if DRM_XE_KUNIT_TEST != n
14	select DRM_PANEL
15	select DRM_SUBALLOC_HELPER
16	select DRM_DISPLAY_DP_HELPER
17	select DRM_DISPLAY_HDCP_HELPER
18	select DRM_DISPLAY_HDMI_HELPER
19	select DRM_DISPLAY_HELPER
20	select DRM_MIPI_DSI
21	select RELAY
22	select IRQ_WORK
23	# xe depends on ACPI_VIDEO when ACPI is enabled
24	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
25	select BACKLIGHT_CLASS_DEVICE if ACPI
26	select INPUT if ACPI
27	select ACPI_VIDEO if X86 && ACPI
28	select ACPI_BUTTON if ACPI
29	select ACPI_WMI if X86 && ACPI
30	select SYNC_FILE
31	select IOSF_MBI
32	select CRC32
33	select SND_HDA_I915 if SND_HDA_CORE
34	select CEC_CORE if CEC_NOTIFIER
35	select VMAP_PFN
36	select DRM_TTM
37	select DRM_TTM_HELPER
38	select DRM_EXEC
39	select DRM_GPUVM
40	select DRM_SCHED
41	select MMU_NOTIFIER
42	select WANT_DEV_COREDUMP
43	select AUXILIARY_BUS
44	help
45	  Experimental driver for Intel Xe series GPUs
46
47	  If "M" is selected, the module will be called xe.
48
49config DRM_XE_DISPLAY
50	bool "Enable display support"
51	depends on DRM_XE && DRM_XE=m
52	select FB_IOMEM_HELPERS
53	select I2C
54	select I2C_ALGOBIT
55	default y
56	help
57	  Disable this option only if you want to compile out display support.
58
59config DRM_XE_FORCE_PROBE
60	string "Force probe xe for selected Intel hardware IDs"
61	depends on DRM_XE
62	help
63	  This is the default value for the xe.force_probe module
64	  parameter. Using the module parameter overrides this option.
65
66	  Force probe the xe for Intel graphics devices that are
67	  recognized but not properly supported by this kernel version. It is
68	  recommended to upgrade to a kernel version with proper support as soon
69	  as it is available.
70
71	  It can also be used to block the probe of recognized and fully
72	  supported devices.
73
74	  Use "" to disable force probe. If in doubt, use this.
75
76	  Use "<pci-id>[,<pci-id>,...]" to force probe the xe for listed
77	  devices. For example, "4500" or "4500,4571".
78
79	  Use "*" to force probe the driver for all known devices.
80
81	  Use "!" right before the ID to block the probe of the device. For
82	  example, "4500,!4571" forces the probe of 4500 and blocks the probe of
83	  4571.
84
85	  Use "!*" to block the probe of the driver for all known devices.
86
87menu "drm/Xe Debugging"
88depends on DRM_XE
89depends on EXPERT
90source "drivers/gpu/drm/xe/Kconfig.debug"
91endmenu
92
93menu "drm/xe Profile Guided Optimisation"
94	visible if EXPERT
95	depends on DRM_XE
96	source "drivers/gpu/drm/xe/Kconfig.profile"
97endmenu
98