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