/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dp_training_128b_132b.c | 74 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 …]
|
D | link_dp_training_8b_10b.c | 95 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 …]
|
D | link_dp_training_fixed_vs_pe_retimer.c | 103 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(<_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 …]
|
D | link_dp_training.c | 60 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(<_settings->link_settings) == in dp_hw_to_dpcd_lane_settings() [all …]
|
D | link_dp_training_dpia.c | 104 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, <_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 …]
|
D | link_dp_training_auxless.c | 38 struct link_training_settings lt_settings = {0}; in dp_perform_link_training_skip_aux() local 43 <_settings); in dp_perform_link_training_skip_aux() 47 <_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, <_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, <_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, <_settings, LINK_TRAINING_SUCCESS); in dp_perform_link_training_skip_aux()
|
D | link_dp_training.h | 71 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 …]
|
D | link_dp_training_8b_10b.h | 40 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);
|
D | link_dp_phy.c | 120 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()
|
D | link_dp_training_128b_132b.h | 34 struct link_training_settings *lt_settings); 38 struct link_training_settings *lt_settings);
|
D | link_dp_training_fixed_vs_pe_retimer.h | 34 struct link_training_settings *lt_settings); 39 struct link_training_settings *lt_settings);
|
D | link_dp_phy.h | 50 struct link_training_settings *lt_settings);
|
D | link_dp_capability.h | 71 struct link_training_settings *lt_settings);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_exports.c | 204 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/ |
D | link.h | 224 struct link_training_settings *lt_settings);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 1905 struct link_training_settings *lt_settings,
|