Home
last modified time | relevance | path

Searched refs:cur_link_settings (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training.c530 for (lane = 0; lane < link->cur_link_settings.lane_count; lane++) { in dp_check_link_loss_status()
1550 struct dc_link_settings cur_link_settings = *link_setting; in perform_link_training_with_retries() local
1556 (cur_link_settings.link_rate <= LINK_RATE_LOW) && in perform_link_training_with_retries()
1557 (cur_link_settings.lane_count <= LANE_COUNT_ONE); in perform_link_training_with_retries()
1562 if (link_dp_get_encoding_format(&cur_link_settings) == DP_8b_10b_ENCODING) in perform_link_training_with_retries()
1574 cur_link_settings.link_rate, cur_link_settings.lane_count, in perform_link_training_with_retries()
1575 cur_link_settings.link_spread); in perform_link_training_with_retries()
1582 &cur_link_settings); in perform_link_training_with_retries()
1609 dp_perform_link_training_skip_aux(link, &pipe_ctx->link_res, &cur_link_settings); in perform_link_training_with_retries()
1617 &cur_link_settings, in perform_link_training_with_retries()
[all …]
Dlink_dp_phy.c64 link->cur_link_settings = *link_settings; in dp_enable_link_phy()
81 memset(&link->cur_link_settings, 0, in dp_disable_link_phy()
82 sizeof(link->cur_link_settings)); in dp_disable_link_phy()
Dlink_dp_irq_handler.c57 if (link->cur_link_settings.lane_count == 0) in dp_parse_link_loss_status()
63 for (lane = 0; lane < link->cur_link_settings.lane_count; lane++) { in dp_parse_link_loss_status()
85 if (link_dp_get_encoding_format(&link->cur_link_settings) == DP_128b_132b_ENCODING && in dp_parse_link_loss_status()
354 if ((link->cur_link_settings.lane_count != LANE_COUNT_UNKNOWN) || in dp_should_allow_hpd_rx_irq()
Dlink_dp_capability.c2134 struct dc_link_settings cur_link_settings = {0}; in dp_verify_link_cap() local
2144 cur_link_settings = max_link_settings; in dp_verify_link_cap()
2154 if (!get_temp_dp_link_res(link, &link_res, &cur_link_settings)) in dp_verify_link_cap()
2157 skip_video_pattern = cur_link_settings.link_rate != LINK_RATE_LOW; in dp_verify_link_cap()
2163 &cur_link_settings); in dp_verify_link_cap()
2168 &cur_link_settings, in dp_verify_link_cap()
2189 &max_link_settings, &cur_link_settings, status)); in dp_verify_link_cap()
2192 cur_link_settings : fail_safe_link_settings; in dp_verify_link_cap()
Dlink_dp_training_dpia.c723 dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status) && in dpia_training_eq_non_transparent()
810 dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status)) { in dpia_training_eq_transparent()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c46 stream->link->cur_link_settings = link_settings; in dp_fpga_hpo_enable_link_and_stream()
92 dc->hwss.unblank_stream(pipe_ctx, &stream->link->cur_link_settings); in dp_fpga_hpo_enable_link_and_stream()
Dlink_dp_cts.c252 link_training_settings.link_settings = link->cur_link_settings; in dp_test_send_phy_test_pattern()
254 link_training_settings.lttpr_mode = dp_decide_lttpr_mode(link, &link->cur_link_settings); in dp_test_send_phy_test_pattern()
378 (unsigned int)(link->cur_link_settings.lane_count); in dp_test_send_phy_test_pattern()
382 if (link_dp_get_encoding_format(&link->cur_link_settings) == in dp_test_send_phy_test_pattern()
393 } else if (link_dp_get_encoding_format(&link->cur_link_settings) == in dp_test_send_phy_test_pattern()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1043 &stream->link->cur_link_settings); in get_pbn_per_slot()
1134 get_lane_status(link, link->cur_link_settings.lane_count, dpcd_lane_status, &lane_status_updated); in poll_for_allocation_change_trigger()
1136 if (!dp_is_cr_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1137 !dp_is_ch_eq_done(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1138 !dp_is_symbol_locked(link->cur_link_settings.lane_count, dpcd_lane_status) || in poll_for_allocation_change_trigger()
1306 link_dp_get_encoding_format(&link->cur_link_settings) == DP_UNKNOWN_ENCODING) { in deallocate_mst_payload_with_temp_drm_wa()
1407 link_dp_get_encoding_format(&link->cur_link_settings) == DP_UNKNOWN_ENCODING) { in deallocate_mst_payload()
1491 link_dp_get_encoding_format(&link->cur_link_settings) == DP_UNKNOWN_ENCODING) { in allocate_mst_payload()
1527 &link->cur_link_settings, in allocate_mst_payload()
1539 dp_link_bandwidth_kbps(link, &link->cur_link_settings)); in link_calculate_sst_avg_time_slots_per_mtp()
[all …]
Dlink_detection.c534 link->cur_link_settings.lane_count = in read_current_link_settings_on_detect()
556 link->cur_link_settings.link_rate = in read_current_link_settings_on_detect()
558 link->cur_link_settings.link_rate_set = link_rate_set; in read_current_link_settings_on_detect()
559 link->cur_link_settings.use_link_rate_set = true; in read_current_link_settings_on_detect()
566 link->cur_link_settings.link_rate = link_bw_set; in read_current_link_settings_on_detect()
567 link->cur_link_settings.use_link_rate_set = false; in read_current_link_settings_on_detect()
572 link->cur_link_settings.link_spread = in read_current_link_settings_on_detect()
Dlink_resource.c65 link_dp_get_encoding_format(&link->cur_link_settings) != DP_128b_132b_ENCODING) in link_get_cur_res_map()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c156 stream->link->cur_link_settings.lane_count; in dce110_fill_display_configs()
158 stream->link->cur_link_settings.link_rate; in dce110_fill_display_configs()
160 stream->link->cur_link_settings.link_spread; in dce110_fill_display_configs()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c207 link->cur_link_settings.lane_count, in dp_link_settings_read()
208 link->cur_link_settings.link_rate, in dp_link_settings_read()
209 link->cur_link_settings.link_spread); in dp_link_settings_read()
326 prefer_link_settings.link_spread = link->cur_link_settings.link_spread; in dp_link_settings_write()
460 prefer_link_settings.link_spread = link->cur_link_settings.link_spread; in dp_mst_link_setting()
665 link->cur_link_settings.lane_count; in dp_phy_settings_write()
667 link->cur_link_settings.link_rate; in dp_phy_settings_write()
669 link->cur_link_settings.link_spread; in dp_phy_settings_write()
767 struct dc_link_settings cur_link_settings = {LANE_COUNT_UNKNOWN, in dp_phy_test_pattern_debugfs_write() local
856 cur_link_settings.lane_count = link->cur_link_settings.lane_count; in dp_phy_test_pattern_debugfs_write()
[all …]
Damdgpu_dm_mst_types.c1596 struct dc_link_settings cur_link_settings; in dm_dp_mst_is_port_support_mode() local
1613 cur_link_settings = stream->link->verified_link_cap; in dm_dp_mst_is_port_support_mode()
1616 &cur_link_settings in dm_dp_mst_is_port_support_mode()
Damdgpu_dm_helpers.c521 link->cur_link_settings.lane_count = 0; in dm_helpers_dp_mst_stop_top_mgr()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_hpo_fixed_vs_pe_retimer_dp.c104 if (link->cur_link_settings.lane_count == LANE_COUNT_FOUR) in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
111 if (link->cur_link_settings.lane_count == LANE_COUNT_FOUR) in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
Dlink_hwss_dio_fixed_vs_pe_retimer.c32 if (link->cur_link_settings.lane_count == LANE_COUNT_FOUR) in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c532 stream->link->cur_link_settings.lane_count; in dce110_fill_display_configs()
534 stream->link->cur_link_settings.link_rate; in dce110_fill_display_configs()
536 stream->link->cur_link_settings.link_spread; in dce110_fill_display_configs()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c475 …clk_mgr->cur_phyclk_req_table[link->link_index] = link->cur_link_settings.link_rate * LINK_RATE_RE… in dcn30_notify_link_rate_change()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c504 …clk_mgr->cur_phyclk_req_table[link->link_index] = link->cur_link_settings.link_rate * LINK_RATE_RE… in dcn2_notify_link_rate_change()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c549 …clk_mgr->cur_phyclk_req_table[link->link_index] = link->cur_link_settings.link_rate * LINK_RATE_RE… in rn_notify_link_rate_change()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c666 pipe_ctx->stream->link->cur_link_settings.lane_count; in dce110_enable_stream()
1622 memset(&dc->links[i]->cur_link_settings, 0, in power_down_encoders()
1623 sizeof(dc->links[i]->cur_link_settings)); in power_down_encoders()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h1479 struct dc_link_settings cur_link_settings; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c2678 pipe_ctx->stream->link->cur_link_settings.lane_count; in dcn20_enable_stream()