[PATCH] drm/i915/display: Remove unused declarations of intel_io_*

Gustavo Sousa gustavo.sousa at intel.com
Thu Jul 17 20:59:15 UTC 2025


Declarations for both intel_io_mmio_fw_write and intel_io_reg_write
where added with commit 01389846f7d6 ("drm/i915: Plumb 'dsb' all way to
the plane hooks"), but they never got used. Let's remove them.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
---
 drivers/gpu/drm/i915/display/intel_display_types.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index ce45261c4a8f4299293dd9dc485e63139d29063a..76cff5548b98fc9617effffe8a6067255eca5c7b 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -941,10 +941,6 @@ struct intel_csc_matrix {
 	u16 postoff[3];
 };
 
-void intel_io_mmio_fw_write(void *ctx, i915_reg_t reg, u32 val);
-
-typedef void (*intel_io_reg_write)(void *ctx, i915_reg_t reg, u32 val);
-
 struct intel_crtc_state {
 	/*
 	 * uapi (drm) state. This is the software state shown to userspace.

---
base-commit: 6cb329ec28293e8b9e670b09611149c05223dca0
change-id: 20250717-drop-unused-intel_io-declarations-dfa7f1c0fa14

Best regards,
-- 
Gustavo Sousa <gustavo.sousa at intel.com>



More information about the Intel-gfx mailing list