[PATCH 3/3] Revert "drm/i915/opregion: Register display debugfs later, after initialization steps"

Imre Deak imre.deak at intel.com
Mon Mar 13 15:48:11 UTC 2023


This reverts commit 673515ba0249e47a0e69c56a16af24399c824d60.
---
 drivers/gpu/drm/i915/display/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 410c84fd905c4..eebd8ed864d76 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -8887,14 +8887,14 @@ void intel_display_driver_register(struct drm_i915_private *i915)
 	if (!HAS_DISPLAY(i915))
 		return;
 
+	intel_display_debugfs_register(i915);
+
 	/* Must be done after probing outputs */
 	intel_opregion_register(i915);
 	intel_acpi_video_register(i915);
 
 	intel_audio_init(i915);
 
-	intel_display_debugfs_register(i915);
-
 	/*
 	 * Some ports require correctly set-up hpd registers for
 	 * detection to work properly (leading to ghost connected
-- 
2.37.1



More information about the Intel-gfx-trybot mailing list