]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/display: move struct intel_link_m_n to intel_display_types.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Nov 2022 10:08:24 +0000 (12:08 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 9 Nov 2022 15:08:05 +0000 (17:08 +0200)
struct intel_crtc_state in intel_display_types.h actually needs the
struct intel_link_m_n definition, while intel_display.h only needs the
forward declaration.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1ec10e4415cf84c51b7eb51092e81876da0bc902.1667383630.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_display_types.h

index d9c8b8447f9e827b9b5900cb8bf6badc4ee9f955..b78009a20e00f2de464f05622fce00b386bdcc19 100644 (file)
@@ -53,6 +53,7 @@ struct intel_digital_port;
 struct intel_dp;
 struct intel_encoder;
 struct intel_initial_plane_config;
+struct intel_link_m_n;
 struct intel_load_detect_pipe;
 struct intel_plane;
 struct intel_plane_state;
@@ -287,15 +288,6 @@ enum aux_ch {
 
 #define aux_ch_name(a) ((a) + 'A')
 
-/* Used by dp and fdi links */
-struct intel_link_m_n {
-       u32 tu;
-       u32 data_m;
-       u32 data_n;
-       u32 link_m;
-       u32 link_n;
-};
-
 enum phy {
        PHY_NONE = -1,
 
index 64314273995dc6f9cb8d178711bacdb0d0e8c711..9258d50a07a0593efff3f250d5f1ed976f08a9ce 100644 (file)
@@ -969,6 +969,15 @@ struct intel_mpllb_state {
        u32 mpllb_sscstep;
 };
 
+/* Used by dp and fdi links */
+struct intel_link_m_n {
+       u32 tu;
+       u32 data_m;
+       u32 data_n;
+       u32 link_m;
+       u32 link_n;
+};
+
 struct intel_crtc_state {
        /*
         * uapi (drm) state. This is the software state shown to userspace.