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