Commit 6398acf3 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/display: move struct intel_link_m_n to intel_display_types.h



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: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1ec10e4415cf84c51b7eb51092e81876da0bc902.1667383630.git.jani.nikula@intel.com
parent 882ecff7
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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,

+9 −0
Original line number Diff line number Diff line
@@ -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.