]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915: rename vlv_sideband*.[ch] to vlv_iosf_sb*.[ch]
authorJani Nikula <jani.nikula@intel.com>
Mon, 12 May 2025 14:56:52 +0000 (17:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 13 May 2025 07:26:44 +0000 (10:26 +0300)
Be more specific in the naming, and follow the existing function naming
pattern of vlv_iosf_sb_*() in the file.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/d3d97d34a197ba801c558c3fd72b29f9e5c783af.1747061743.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
22 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/i9xx_wm.c
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power_map.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_dpio_phy.c
drivers/gpu/drm/i915/display/intel_dpll.c
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
drivers/gpu/drm/i915/display/vlv_dsi.c
drivers/gpu/drm/i915/display/vlv_dsi_pll.c
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/i915/intel_clock_gating.c
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/i915/vlv_iosf_sb.c [moved from drivers/gpu/drm/i915/vlv_sideband.c with 99% similarity]
drivers/gpu/drm/i915/vlv_iosf_sb.h [moved from drivers/gpu/drm/i915/vlv_sideband.h with 96% similarity]
drivers/gpu/drm/i915/vlv_iosf_sb_reg.h [moved from drivers/gpu/drm/i915/vlv_sideband_reg.h with 98% similarity]
drivers/gpu/drm/xe/compat-i915-headers/vlv_iosf_sb.h [moved from drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband.h with 96% similarity]
drivers/gpu/drm/xe/compat-i915-headers/vlv_iosf_sb_reg.h [moved from drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h with 66% similarity]

index 13d4a16f7d33ae992179ed572f0bd2d0bb128da8..3e3e4f4bfa4e2ffa4b94f5436bba7d9774b6bf51 100644 (file)
@@ -45,7 +45,7 @@ i915-y += \
        intel_uncore.o \
        intel_uncore_trace.o \
        intel_wakeref.o \
-       vlv_sideband.o \
+       vlv_iosf_sb.o \
        vlv_suspend.o
 
 # core peripheral code
index 77876ef735b746b486e2efcb492d8b4752522ba2..02f33cbe6765c69f8c12ad423a24b48fa11db4e7 100644 (file)
@@ -16,7 +16,7 @@
 #include "intel_mchbar_regs.h"
 #include "intel_wm.h"
 #include "skl_watermark.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 struct intel_watermark_params {
        u16 fifo_size;
index b1718b491ffdab596f8313d518fa048243305afb..501b794984149219a1c88a458a06724b288c27f4 100644 (file)
@@ -47,7 +47,7 @@
 #include "skl_watermark.h"
 #include "skl_watermark_regs.h"
 #include "vlv_dsi.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 /**
  * DOC: CDCLK / RAWCLK
index 704ca079980c27c930146995350c70fbd35a61ad..c7a6b710b7c0a0b0c1b2cf430c2435faa2cfe43e 100644 (file)
 #include "vlv_dsi.h"
 #include "vlv_dsi_pll.h"
 #include "vlv_dsi_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 static void intel_set_transcoder_timings(const struct intel_crtc_state *crtc_state);
 static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state);
index 16356523816fb8438d88851ab2a19ccc1b7662ef..b3b05d7610e8a673aef847b47d5ed039c5171fd2 100644 (file)
@@ -27,7 +27,7 @@
 #include "intel_snps_phy.h"
 #include "skl_watermark.h"
 #include "skl_watermark_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 #define for_each_power_domain_well(__display, __power_well, __domain)  \
        for_each_power_well((__display), __power_well)                  \
index ab1163744bc5953da900cbd935155b4050435f96..b4c302544909d27e4a3c8b6d2b5056f5901b4613 100644 (file)
@@ -10,7 +10,7 @@
 #include "intel_display_power_map.h"
 #include "intel_display_power_well.h"
 #include "intel_display_types.h"
-#include "vlv_sideband_reg.h"
+#include "vlv_iosf_sb_reg.h"
 
 #define __LIST_INLINE_ELEMS(__elem_type, ...) \
        ((__elem_type[]) { __VA_ARGS__ })
index b104bce0e14df676059e8376eb6955c557d7a2b9..6772ac0c3f84c508effd26690d0826831b0df7d6 100644 (file)
@@ -30,8 +30,8 @@
 #include "intel_vga.h"
 #include "skl_watermark.h"
 #include "vlv_dpio_phy_regs.h"
-#include "vlv_sideband.h"
-#include "vlv_sideband_reg.h"
+#include "vlv_iosf_sb.h"
+#include "vlv_iosf_sb_reg.h"
 
 struct i915_power_well_regs {
        i915_reg_t bios;
index 69f2421394205f0186a674d8e141ce3febaa802c..5b9c0852da2cfe29730146f55d25a5a3bd81d05f 100644 (file)
@@ -32,7 +32,7 @@
 #include "intel_dp.h"
 #include "intel_dpio_phy.h"
 #include "vlv_dpio_phy_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 /**
  * DOC: DPIO
index a9e9b98d0bf9c9c6ee33b48ff9306003d64962da..055dd2b4a90437397fa2cfad9457acd0ff304a68 100644 (file)
@@ -22,7 +22,7 @@
 #include "intel_pps.h"
 #include "intel_snps_phy.h"
 #include "vlv_dpio_phy_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 struct intel_dpll_funcs {
        int (*crtc_compute_clock)(struct intel_atomic_state *state,
index 29c9209834138e07af768ebc61faf1f78332c2f0..dce4fdf091f679164f8107984e1a4ef9df45f4b7 100644 (file)
@@ -49,7 +49,7 @@
 #include "intel_pps_regs.h"
 #include "vlv_dsi.h"
 #include "vlv_dsi_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 #define MIPI_TRANSFER_MODE_SHIFT       0
 #define MIPI_VIRTUAL_CHANNEL_SHIFT     1
index 346737f15fa93264ab8791912cc4cc128f2f3324..110914bbc1348dede23f9b326084b7802506420d 100644 (file)
@@ -49,7 +49,7 @@
 #include "vlv_dsi.h"
 #include "vlv_dsi_pll.h"
 #include "vlv_dsi_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 /* return pixels in terms of txbyteclkhs */
 static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count,
index 7ce924a5ef90b8ecdcc74800e8b368792ae0dad7..79438cdfc3f9d38356bd83ba944b5ce72f9ffdc0 100644 (file)
@@ -34,7 +34,7 @@
 #include "intel_dsi.h"
 #include "vlv_dsi_pll.h"
 #include "vlv_dsi_pll_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 static const u16 lfsr_converts[] = {
        426, 469, 234, 373, 442, 221, 110, 311, 411,            /* 62 - 70 */
index b635aa2820d9f55f54b41418e701aef00b2963b0..0704fe763afed67f62dbe7922b755bc1bef2b845 100644 (file)
@@ -22,7 +22,7 @@
 #include "intel_rps.h"
 #include "intel_runtime_pm.h"
 #include "intel_uncore.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 void intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt)
 {
index 461708f1ac5431cfa25a7c9c8bed9abee4c49bfe..7fa341d2bfe4fbd3db303503d3dbf2b09ef32dbb 100644 (file)
@@ -23,7 +23,7 @@
 #include "intel_mchbar_regs.h"
 #include "intel_pcode.h"
 #include "intel_rps.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 #include "../../../platform/x86/intel_ips.h"
 
 #define BUSY_MAX_EI    20u /* ms */
index 273bc43468a0f29fead08d19e3118c36c50bf56c..2b0bcb9aa3c72f2a05dc56c21123604586202dc3 100644 (file)
 #include "intel_pcode.h"
 #include "intel_region_ttm.h"
 #include "intel_sbi.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 #include "vlv_suspend.h"
 
 static const struct drm_driver i915_drm_driver;
index 387b2640016901b5081e0cf43c90fa7b360bb65e..8aec8c638fd81b5709dd5347b20588be20f1d62a 100644 (file)
@@ -37,7 +37,7 @@
 #include "i915_reg.h"
 #include "intel_clock_gating.h"
 #include "intel_mchbar_regs.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 struct drm_i915_clock_gating_funcs {
        void (*init_clock_gating)(struct drm_i915_private *i915);
index eee5c4f45a43c8cc4e002c041e1363941f96e256..0b92ab4e9fb9bbe96373c3de78800c209f88629a 100644 (file)
@@ -10,7 +10,7 @@
 #include "intel_dram.h"
 #include "intel_mchbar_regs.h"
 #include "intel_pcode.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 struct dram_dimm_info {
        u16 size;
similarity index 99%
rename from drivers/gpu/drm/i915/vlv_sideband.c
rename to drivers/gpu/drm/i915/vlv_iosf_sb.c
index 114ae8eb9cd51dc699d2eeba09f952c679361f31..91703c6c478c5050762cf340a86719ea265470f4 100644 (file)
@@ -6,7 +6,7 @@
 #include "i915_drv.h"
 #include "i915_iosf_mbi.h"
 #include "i915_reg.h"
-#include "vlv_sideband.h"
+#include "vlv_iosf_sb.h"
 
 #include "display/intel_dpio_phy.h"
 
similarity index 96%
rename from drivers/gpu/drm/i915/vlv_sideband.h
rename to drivers/gpu/drm/i915/vlv_iosf_sb.h
index 31813e07c56fbc663e28d72eb3db0cfaae1d2ed3..380b96089cda878edb18cb13d13e7f73e3bfc4aa 100644 (file)
@@ -3,13 +3,13 @@
  * Copyright © 2013-2021 Intel Corporation
  */
 
-#ifndef _VLV_SIDEBAND_H_
-#define _VLV_SIDEBAND_H_
+#ifndef _VLV_IOSF_SB_H_
+#define _VLV_IOSF_SB_H_
 
 #include <linux/bitops.h>
 #include <linux/types.h>
 
-#include "vlv_sideband_reg.h"
+#include "vlv_iosf_sb_reg.h"
 
 enum dpio_phy;
 struct drm_i915_private;
@@ -122,4 +122,4 @@ static inline void vlv_punit_put(struct drm_i915_private *i915)
        vlv_iosf_sb_put(i915, BIT(VLV_IOSF_SB_PUNIT));
 }
 
-#endif /* _VLV_SIDEBAND_H_ */
+#endif /* _VLV_IOSF_SB_H_ */
similarity index 98%
rename from drivers/gpu/drm/i915/vlv_sideband_reg.h
rename to drivers/gpu/drm/i915/vlv_iosf_sb_reg.h
index b7fbff3d040999d15f8d95f14eae7a73a0bfbb07..f977fb3b6e1738f023bb9605c44fe0319119709f 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright © 2022 Intel Corporation
  */
 
-#ifndef _VLV_SIDEBAND_REG_H_
-#define _VLV_SIDEBAND_REG_H_
+#ifndef _VLV_IOSF_SB_REG_H_
+#define _VLV_IOSF_SB_REG_H_
 
 /* See configdb bunit SB addr map */
 #define BUNIT_REG_BISOC                                0x11
 #define  CCK_FREQUENCY_STATUS_SHIFT            8
 #define  CCK_FREQUENCY_VALUES                  (0x1f << 0)
 
-#endif /* _VLV_SIDEBAND_REG_H_ */
+#endif /* _VLV_IOSF_SB_REG_H_ */
similarity index 96%
rename from drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband.h
rename to drivers/gpu/drm/xe/compat-i915-headers/vlv_iosf_sb.h
index ec6f12de57274642e7356ea8002b8bb2a07a4940..b42a518a79e0a0f72d2614d327e29f27628f0273 100644 (file)
@@ -3,12 +3,12 @@
  * Copyright © 2013-2021 Intel Corporation
  */
 
-#ifndef _VLV_SIDEBAND_H_
-#define _VLV_SIDEBAND_H_
+#ifndef _VLV_IOSF_SB_H_
+#define _VLV_IOSF_SB_H_
 
 #include <linux/types.h>
 
-#include "vlv_sideband_reg.h"
+#include "vlv_iosf_sb_reg.h"
 
 enum pipe;
 struct drm_i915_private;
@@ -129,4 +129,4 @@ static inline void vlv_punit_put(struct drm_i915_private *i915)
 {
 }
 
-#endif /* _VLV_SIDEBAND_H_ */
+#endif /* _VLV_IOSF_SB_H_ */
similarity index 66%
rename from drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h
rename to drivers/gpu/drm/xe/compat-i915-headers/vlv_iosf_sb_reg.h
index 949f134ce3cf37bd6f038a10a83d839a5d0e8ab6..cb7fa8e794a60f13bc900305bb561e30dcb813c6 100644 (file)
@@ -3,4 +3,4 @@
  * Copyright © 2023 Intel Corporation
  */
 
-#include "../../i915/vlv_sideband_reg.h"
+#include "../../i915/vlv_iosf_sb_reg.h"