[Intel-xe] [PATCH] drm/xe: Make xe build dependent on STAGING.

Rodrigo Vivi rodrigo.vivi at intel.com
Tue May 9 15:10:08 UTC 2023


As documented in drivers/staging/Kconfig:

STAGING means "that these drivers are under heavy development" and
"may contain userspace interfaces that most likely will be changed
in the near future."

As explained in Documentation/gpu/rfc/xe.rst:

"
Xe driver will be protected with both STAGING Kconfig and force_probe.
Changes in the uAPI are expected while the driver is behind these
protections. STAGING will be removed when the driver uAPI gets to a
mature state where we can guarantee the ‘no regression’ rule.
Then force_probe will be lifted only for future platforms that will be
productized with Xe driver, but not with i915.
"

Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Radoslaw Szwichtenberg <radoslaw.szwichtenberg at intel.com>
Cc: Maciej Ramotowski <maciej.ramotowski at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/xe/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index f6f3b491d162..1a410edd38e4 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -2,6 +2,7 @@
 config DRM_XE
 	tristate "Intel Xe Graphics"
 	depends on DRM && PCI && MMU
+	depends on STAGING
 	select INTERVAL_TREE
 	# we need shmfs for the swappable backing store, and in particular
 	# the shmem_readpage() which depends upon tmpfs
-- 
2.39.2



More information about the Intel-xe mailing list