]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/i915/display: Remove unused declarations of intel_io_*
authorGustavo Sousa <gustavo.sousa@intel.com>
Thu, 17 Jul 2025 20:59:15 +0000 (17:59 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Jul 2025 15:07:09 +0000 (08:07 -0700)
Declarations for both intel_io_mmio_fw_write and intel_io_reg_write
were 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@linux.intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250717-drop-unused-intel_io-declarations-v1-1-bdea2c749571@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/display/intel_display_types.h

index 8f8019d40d774fbffc6e73867785b01302a9fb4c..4d9df803ad477aecb2ca43790f7b4604e001a085 100644 (file)
@@ -943,10 +943,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.