[Intel-xe] [PATCH v2 5/6] fixup! drm/xe/display: Implement display support

Jani Nikula jani.nikula at intel.com
Fri Oct 6 10:38:01 UTC 2023


Checks for CONFIG_DRM_XE_DISPLAY are useless in xe_display.c, because
it's not built when CONFIG_DRM_XE_DISPLAY=n.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/xe/xe_display.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
index 68729997e1fe..82d2c42629ce 100644
--- a/drivers/gpu/drm/xe/xe_display.c
+++ b/drivers/gpu/drm/xe/xe_display.c
@@ -3,8 +3,6 @@
  * Copyright © 2023 Intel Corporation
  */
 
-#if IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
-
 #include "xe_display.h"
 #include "regs/xe_regs.h"
 
@@ -438,5 +436,3 @@ void xe_display_probe(struct xe_device *xe)
 	unset_display_features(xe);
 }
 __diag_pop();
-
-#endif
-- 
2.39.2



More information about the Intel-xe mailing list