Home
last modified time | relevance | path

Searched refs:lt_settings (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_128b_132b.c74 struct link_training_settings *lt_settings) in dp_perform_128b_132b_channel_eq_done_sequence() argument
86 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_cr, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence()
89 dpcd_set_training_pattern(link, lt_settings->pattern_for_cr); in dp_perform_128b_132b_channel_eq_done_sequence()
93 dp_get_lane_status_and_lane_adjust(link, lt_settings, dpcd_lane_status, in dp_perform_128b_132b_channel_eq_done_sequence()
95 dp_decide_lane_settings(lt_settings, dpcd_lane_adjust, in dp_perform_128b_132b_channel_eq_done_sequence()
96 lt_settings->hw_lane_settings, lt_settings->dpcd_lane_settings); in dp_perform_128b_132b_channel_eq_done_sequence()
97 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence()
98 dp_set_hw_training_pattern(link, link_res, lt_settings->pattern_for_eq, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence()
104 dpcd_set_lt_pattern_and_lane_settings(link, lt_settings, in dp_perform_128b_132b_channel_eq_done_sequence()
105 lt_settings->pattern_for_eq, DPRX); in dp_perform_128b_132b_channel_eq_done_sequence()
[all …]
Dlink_dp_training_8b_10b.c95 struct link_training_settings *lt_settings) in decide_8b_10b_training_settings() argument
97 memset(lt_settings, '\0', sizeof(struct link_training_settings)); in decide_8b_10b_training_settings()
100 lt_settings->link_settings.use_link_rate_set = link_setting->use_link_rate_set; in decide_8b_10b_training_settings()
101 lt_settings->link_settings.link_rate_set = link_setting->link_rate_set; in decide_8b_10b_training_settings()
102 lt_settings->link_settings.link_rate = link_setting->link_rate; in decide_8b_10b_training_settings()
103 lt_settings->link_settings.lane_count = link_setting->lane_count; in decide_8b_10b_training_settings()
111 lt_settings->link_settings.link_spread = link->dp_ss_off ? in decide_8b_10b_training_settings()
113 lt_settings->cr_pattern_time = get_cr_training_aux_rd_interval(link, link_setting); in decide_8b_10b_training_settings()
114 lt_settings->eq_pattern_time = get_eq_training_aux_rd_interval(link, link_setting); in decide_8b_10b_training_settings()
115 lt_settings->pattern_for_cr = decide_cr_training_pattern(link_setting); in decide_8b_10b_training_settings()
[all …]
Dlink_dp_training_fixed_vs_pe_retimer.c103 struct link_training_settings *lt_settings) in perform_fixed_vs_pe_nontransparent_training_sequence() argument
114 if (lt_settings->cr_pattern_time < 16000) in perform_fixed_vs_pe_nontransparent_training_sequence()
115 lt_settings->cr_pattern_time = 16000; in perform_fixed_vs_pe_nontransparent_training_sequence()
119 target_rate = get_dpcd_link_rate(&lt_settings->link_settings); in perform_fixed_vs_pe_nontransparent_training_sequence()
123 lt_settings->link_settings.link_rate = toggle_rate; in perform_fixed_vs_pe_nontransparent_training_sequence()
126 start_clock_recovery_pattern_early(link, link_res, lt_settings, DPRX); in perform_fixed_vs_pe_nontransparent_training_sequence()
129 dpcd_set_link_settings(link, lt_settings); in perform_fixed_vs_pe_nontransparent_training_sequence()
142 if (lt_settings->lttpr_mode == LTTPR_MODE_NON_TRANSPARENT) { in perform_fixed_vs_pe_nontransparent_training_sequence()
151 status = perform_8b_10b_clock_recovery_sequence(link, link_res, lt_settings, repeater_id); in perform_fixed_vs_pe_nontransparent_training_sequence()
160 lt_settings, in perform_fixed_vs_pe_nontransparent_training_sequence()
[all …]
Dlink_dp_training.c60 const struct link_training_settings *lt_settings, in dp_log_training_result() argument
67 switch (lt_settings->link_settings.link_rate) { in dp_log_training_result()
152 switch (lt_settings->link_settings.link_spread) { in dp_log_training_result()
172 lt_settings->link_settings.lane_count, in dp_log_training_result()
174 lt_settings->hw_lane_settings[0].VOLTAGE_SWING, in dp_log_training_result()
175 lt_settings->hw_lane_settings[0].PRE_EMPHASIS, in dp_log_training_result()
302 static void maximize_lane_settings(const struct link_training_settings *lt_settings, in maximize_lane_settings() argument
313 for (lane = 1; lane < lt_settings->link_settings.lane_count; lane++) { in maximize_lane_settings()
351 const struct link_training_settings *lt_settings, in dp_hw_to_dpcd_lane_settings() argument
358 if (link_dp_get_encoding_format(&lt_settings->link_settings) == in dp_hw_to_dpcd_lane_settings()
[all …]
Dlink_dp_training_dpia.c104 struct link_training_settings *lt_settings) in dpia_configure_link() argument
112 lt_settings->lttpr_mode); in dpia_configure_link()
117 lt_settings); in dpia_configure_link()
119 dp_get_lttpr_mode_override(link, &lt_settings->lttpr_mode); in dpia_configure_link()
121 status = dpcd_configure_channel_coding(link, lt_settings); in dpia_configure_link()
126 status = dpcd_configure_lttpr_mode(link, lt_settings); in dpia_configure_link()
131 status = dpcd_set_link_settings(link, lt_settings); in dpia_configure_link()
172 struct link_training_settings *lt_settings) in dpia_build_set_config_data() argument
180 data.set_link.mode = lt_settings->lttpr_mode == LTTPR_MODE_NON_TRANSPARENT ? 1 : 0; in dpia_build_set_config_data()
186 data.set_vspe.swing = lt_settings->hw_lane_settings[0].VOLTAGE_SWING; in dpia_build_set_config_data()
[all …]
Dlink_dp_training_auxless.c38 struct link_training_settings lt_settings = {0}; in dp_perform_link_training_skip_aux() local
43 &lt_settings); in dp_perform_link_training_skip_aux()
47 &lt_settings); in dp_perform_link_training_skip_aux()
52 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_cr, DPRX); in dp_perform_link_training_skip_aux()
55 dp_set_hw_lane_settings(link, link_res, &lt_settings, DPRX); in dp_perform_link_training_skip_aux()
58 dp_wait_for_training_aux_rd_interval(link, lt_settings.cr_pattern_time); in dp_perform_link_training_skip_aux()
63 dp_set_hw_training_pattern(link, link_res, lt_settings.pattern_for_eq, DPRX); in dp_perform_link_training_skip_aux()
66 dp_set_hw_lane_settings(link, link_res, &lt_settings, DPRX); in dp_perform_link_training_skip_aux()
69 dp_wait_for_training_aux_rd_interval(link, lt_settings.eq_pattern_time); in dp_perform_link_training_skip_aux()
76 dp_log_training_result(link, &lt_settings, LINK_TRAINING_SUCCESS); in dp_perform_link_training_skip_aux()
Dlink_dp_training.h71 const struct link_training_settings *lt_settings);
75 const struct link_training_settings *lt_settings,
90 struct link_training_settings *lt_settings);
96 struct link_training_settings *lt_settings);
102 struct link_training_settings *lt_settings,
108 struct link_training_settings *lt_settings);
111 const struct link_training_settings *lt_settings,
131 struct link_training_settings *lt_settings);
147 bool is_repeater(const struct link_training_settings *lt_settings, uint32_t offset);
150 const struct link_training_settings *lt_settings);
[all …]
Dlink_dp_training_8b_10b.h40 struct link_training_settings *lt_settings);
45 struct link_training_settings *lt_settings,
51 struct link_training_settings *lt_settings,
59 struct link_training_settings *lt_settings);
Dlink_dp_phy.c120 struct link_training_settings *lt_settings) in dp_set_drive_settings() argument
123 dp_set_hw_lane_settings(link, link_res, lt_settings, DPRX); in dp_set_drive_settings()
125 dp_hw_to_dpcd_lane_settings(lt_settings, in dp_set_drive_settings()
126 lt_settings->hw_lane_settings, in dp_set_drive_settings()
127 lt_settings->dpcd_lane_settings); in dp_set_drive_settings()
130 dpcd_set_lane_settings(link, lt_settings, DPRX); in dp_set_drive_settings()
Dlink_dp_training_128b_132b.h34 struct link_training_settings *lt_settings);
38 struct link_training_settings *lt_settings);
Dlink_dp_training_fixed_vs_pe_retimer.h34 struct link_training_settings *lt_settings);
39 struct link_training_settings *lt_settings);
Dlink_dp_phy.h50 struct link_training_settings *lt_settings);
Dlink_dp_capability.h71 struct link_training_settings *lt_settings);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c204 struct link_training_settings *lt_settings, in dc_link_set_drive_settings() argument
210 dc->link_srv->dp_set_drive_settings(link, &link_res, lt_settings); in dc_link_set_drive_settings()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h224 struct link_training_settings *lt_settings);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc.h1905 struct link_training_settings *lt_settings,