]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/xe/compat: stop including i915_utils.h from compat i915_drv.h
authorJani Nikula <jani.nikula@intel.com>
Thu, 31 Jul 2025 12:36:16 +0000 (15:36 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 4 Aug 2025 08:13:07 +0000 (11:13 +0300)
Expose the places that need i915_utils.h, and include it where needed.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/6338c8524e600e048b56c5484624cfb51ed49d1d.1753965351.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
13 files changed:
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display_driver.c
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_fb.c
drivers/gpu/drm/i915/display/intel_gmbus.c
drivers/gpu/drm/i915/display/intel_hotplug.c
drivers/gpu/drm/i915/display/intel_vblank.c
drivers/gpu/drm/i915/display/skl_universal_plane.c
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
drivers/gpu/drm/xe/display/ext/i915_utils.c

index 9c268bed091d4ddadb63841d0ed8927ead426ca6..276ac29e4daf7a54bd512e82081acd855af2ff26 100644 (file)
@@ -36,6 +36,7 @@
 #include "soc/intel_rom.h"
 
 #include "i915_drv.h"
+#include "i915_utils.h"
 #include "intel_display.h"
 #include "intel_display_core.h"
 #include "intel_display_rpm.h"
index 2a2d6714e4f47d3d4c73ca8b64a7cfd2f0ca66ae..59997dc95984cda65c520fc8d960c6a4488f04ae 100644 (file)
@@ -31,6 +31,7 @@
 #include "hsw_ips.h"
 #include "i915_drv.h"
 #include "i915_reg.h"
+#include "i915_utils.h"
 #include "intel_atomic.h"
 #include "intel_audio.h"
 #include "intel_bw.h"
index 8586ba102605afe8e564d757cb248252584650b3..cf1c14412abea724a549c5670b6344522fd36037 100644 (file)
@@ -18,6 +18,7 @@
 #include <drm/drm_vblank.h>
 
 #include "i915_drv.h"
+#include "i915_utils.h"
 #include "i9xx_wm.h"
 #include "intel_acpi.h"
 #include "intel_atomic.h"
index 2c2b23a138cc94b8b2e3cb76f4e252c31d3776c4..d1d3b6f89e2a23e056d17e0fff6c80ea9e6f4e82 100644 (file)
@@ -10,6 +10,7 @@
 #include "i915_drv.h"
 #include "i915_irq.h"
 #include "i915_reg.h"
+#include "i915_utils.h"
 #include "intel_backlight_regs.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
index 48cac225a809f9a796a52967a03595c26b65d3d0..6efe5524cbbf9de79258c9fe9505342b6acc7bcf 100644 (file)
@@ -6,6 +6,7 @@
 #include "i915_drv.h"
 #include "i915_irq.h"
 #include "i915_reg.h"
+#include "i915_utils.h"
 #include "intel_backlight_regs.h"
 #include "intel_combo_phy.h"
 #include "intel_combo_phy_regs.h"
index 79811f998e385319d5a92ba4e9bf32a570aa6efc..71b4fa19f1e59c0faf5eccd705b3f05383fce559 100644 (file)
@@ -11,6 +11,7 @@
 #include <drm/drm_modeset_helper.h>
 
 #include "i915_drv.h"
+#include "i915_utils.h"
 #include "intel_bo.h"
 #include "intel_display.h"
 #include "intel_display_core.h"
index 637f0f23f1631ce3c634916acce3f5e672fbd51b..6a74805570e1cf3c7d7f34809e064db482f9e903 100644 (file)
@@ -36,6 +36,7 @@
 #include "i915_drv.h"
 #include "i915_irq.h"
 #include "i915_reg.h"
+#include "i915_utils.h"
 #include "intel_de.h"
 #include "intel_display_regs.h"
 #include "intel_display_types.h"
index 265aa97fcc750ff130630a2f0c019bf7ab274e4b..740e5c930521f6814858f562bae97b778cc05324 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "i915_drv.h"
 #include "i915_irq.h"
+#include "i915_utils.h"
 #include "intel_connector.h"
 #include "intel_display_power.h"
 #include "intel_display_core.h"
index 3e51deca0c217e7e6aeddfaee54e49f10f68c193..46d6db5fed11624517c69a47161ce05cf6c8fab8 100644 (file)
@@ -6,6 +6,7 @@
 #include <drm/drm_vblank.h>
 
 #include "i915_drv.h"
+#include "i915_utils.h"
 #include "intel_color.h"
 #include "intel_crtc.h"
 #include "intel_de.h"
index ec3fe75f2c6c5147813a0271cb2b83d0fab98f96..950dc79dbdd46027ac44cfb5eaf9a15d6a6c4fa8 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "pxp/intel_pxp.h"
 #include "i915_drv.h"
+#include "i915_utils.h"
 #include "intel_bo.h"
 #include "intel_de.h"
 #include "intel_display_irq.h"
index deb159548a094c21920590e10fbc7043eee95029..3eeaabdf59e8c154bc5d4af47753fa77558020a8 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "i915_drv.h"
 #include "i915_reg.h"
+#include "i915_utils.h"
 #include "intel_dram.h"
 #include "intel_mchbar_regs.h"
 #include "intel_pcode.h"
index d8cd66a96621c84f693c38ae8c72e6816f21c928..b8269391bc6921fe0d3cbd6a0141064faf2c9db0 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <drm/drm_drv.h>
 
-#include "i915_utils.h"
 #include "xe_device.h" /* for xe_device_has_flat_ccs() */
 #include "xe_device_types.h"
 
index 43b10a2cc5085d8dc11b275e6bc2891bbf90ee3b..1421c2a7b64d60bbd79c148ac7f535d120f47142 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include "i915_drv.h"
+#include "i915_utils.h"
 
 bool i915_vtd_active(struct drm_i915_private *i915)
 {