[Intel-xe] [PATCH 3/6] drm/xe: move XE_DISPLAY to the Kconfig

Rodrigo Vivi rodrigo.vivi at intel.com
Fri Feb 3 20:27:39 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

XE_DISPLAY symbol is not related to debug, but, instead, to a
Xe feature. Move it to the driver's main Kconfig file.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/xe/Kconfig       | 8 ++++++++
 drivers/gpu/drm/xe/Kconfig.debug | 7 -------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index 22e47918bfcf..4684e99549d3 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -40,6 +40,14 @@ config DRM_XE
 
 	  If "M" is selected, the module will be called xe.
 
+
+config DRM_XE_DISPLAY
+	bool "Enable display support"
+	depends on DRM_XE && EXPERT
+	default y
+	help
+	  Disable this option only if you want to compile out display support.
+
 config DRM_XE_FORCE_PROBE
 	string "Force probe xe for selected Intel hardware IDs"
 	depends on DRM_XE
diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug
index 6726caa63acc..9c773dd74cbd 100644
--- a/drivers/gpu/drm/xe/Kconfig.debug
+++ b/drivers/gpu/drm/xe/Kconfig.debug
@@ -95,10 +95,3 @@ config DRM_XE_USERPTR_INVAL_INJECT
 
 	 Recomended for driver developers only.
 	 If in doubt, say "N".
-
-config DRM_XE_DISPLAY
-	bool "Enable display support"
-	depends on DRM_XE && EXPERT
-	default y
-	help
-	  Disable this option only if you want to compile out display support.
-- 
2.39.1



More information about the Intel-xe mailing list