]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/hdmi: move declarations for hsw_read/write_infoframe() to the right place
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Feb 2025 13:58:38 +0000 (15:58 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Feb 2025 17:32:03 +0000 (19:32 +0200)
The functions are located in intel_hdmi.c, put the declarations in
intel_hdmi.h.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e8cd28a3c46f06b9654df8b7990e1e6a1d9e18c1.1738677489.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.h
drivers/gpu/drm/i915/display/intel_lspcon.h

index 38deaeb302a2fa340b10c6dc039c48284cf9a312..d237fe08c3e639e69b120fc66c5d463053d072e1 100644 (file)
@@ -62,4 +62,13 @@ int intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,
                                  int hdmi_max_slices, int hdmi_throughput);
 int intel_hdmi_dsc_get_slice_height(int vactive);
 
+void hsw_write_infoframe(struct intel_encoder *encoder,
+                        const struct intel_crtc_state *crtc_state,
+                        unsigned int type,
+                        const void *frame, ssize_t len);
+void hsw_read_infoframe(struct intel_encoder *encoder,
+                       const struct intel_crtc_state *crtc_state,
+                       unsigned int type,
+                       void *frame, ssize_t len);
+
 #endif /* __INTEL_HDMI_H__ */
index e19e10492b05112cc18f4b950fa47ae181650535..47f9ae77b328add4d0c56fbd43df86838148334d 100644 (file)
@@ -35,13 +35,5 @@ u32 lspcon_infoframes_enabled(struct intel_encoder *encoder,
                              const struct intel_crtc_state *pipe_config);
 u32 intel_lspcon_infoframes_enabled(struct intel_encoder *encoder,
                                    const struct intel_crtc_state *pipe_config);
-void hsw_write_infoframe(struct intel_encoder *encoder,
-                        const struct intel_crtc_state *crtc_state,
-                        unsigned int type,
-                        const void *frame, ssize_t len);
-void hsw_read_infoframe(struct intel_encoder *encoder,
-                       const struct intel_crtc_state *crtc_state,
-                       unsigned int type,
-                       void *frame, ssize_t len);
 
 #endif /* __INTEL_LSPCON_H__ */