Home
last modified time | relevance | path

Searched refs:link_srv (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.14.4/drivers/gpu/drm/amd/display/dc/link/
Dlink_factory.c57 static void construct_link_service_factory(struct link_service *link_srv) in construct_link_service_factory() argument
60 link_srv->create_link = link_create; in construct_link_service_factory()
61 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
69 static void construct_link_service_detection(struct link_service *link_srv) in construct_link_service_detection() argument
71 link_srv->detect_link = link_detect; in construct_link_service_detection()
72 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
73 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
74 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
75 link_srv->get_hpd_state = link_get_hpd_state; in construct_link_service_detection()
76 link_srv->get_hpd_gpio = link_get_hpd_gpio; in construct_link_service_detection()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c86 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect()
92 return link->dc->link_srv->detect_connection_type(link, type); in dc_link_detect_connection_type()
97 return link->dc->link_srv->get_status(link); in dc_link_get_status()
103 return link->dc->link_srv->is_hdcp1x_supported(link, signal); in dc_link_is_hdcp14()
108 return link->dc->link_srv->is_hdcp2x_supported(link, signal); in dc_link_is_hdcp22()
113 link->dc->link_srv->clear_dprx_states(link); in dc_link_clear_dprx_states()
118 return link->dc->link_srv->reset_cur_dp_mst_topology(link); in dc_link_reset_cur_dp_mst_topology()
125 return link->dc->link_srv->dp_link_bandwidth_kbps(link, link_settings); in dc_link_bandwidth_kbps()
132 return link->dc->link_srv->dp_required_hblank_size_bytes(link, in dc_link_required_hblank_size_bytes()
138 dc->link_srv->get_cur_res_map(dc, map); in dc_get_cur_link_res_map()
[all …]
Ddc.c160 dc->link_srv->destroy_link(&dc->links[i]); in destroy_links()
230 link = dc->link_srv->create_link(&link_init_params); in create_links()
252 link = dc->link_srv->create_link(&link_init_params); in create_links()
953 if (dc->link_srv) in dc_destruct()
954 link_destroy_link_service(&dc->link_srv); in dc_destruct()
1027 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
1028 if (!dc->link_srv) in dc_construct_ctx()
1410 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
1858 if (dc->link_srv->edp_is_ilr_optimization_required(link, crtc_timing)) { in dc_validate_boot_timing()
3452 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_dio_fixed_vs_pe_retimer.c52 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
54 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
56 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
58 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
60 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
62 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
64 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
66 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
68 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
70 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
[all …]
Dlink_hwss_hpo_fixed_vs_pe_retimer_dp.c62 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe()
64 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe()
66 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe()
68 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe()
70 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe()
92 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
94 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
96 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
98 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
100 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
[all …]
Dlink_hwss_dio.c57 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence(pipe_ctx->stream->link, in setup_dio_stream_encoder()
92 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in reset_dio_stream_encoder()
135 link->dc->link_srv->dp_trace_source_sequence(link, in setup_dio_stream_attribute()
157 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dio_dp_link_output()
170 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dio_link_output()
181 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dp_link_test_pattern()
230 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in enable_dio_audio_packet()
250 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in disable_dio_audio_packet()
Dlink_hwss_dpia.c70 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dpia_link_test_pattern()
90 uint8_t fec_rdy = link->dc->link_srv->dp_should_enable_fec(link); in enable_dpia_link_output()
114 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dpia_link_output()
133 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dpia_link_output()
Dlink_hwss_hpo_dp.c55 hpo_dp_stream_encoder->ctx->dc->link_srv->dp_link_bandwidth_kbps( in set_hpo_dp_hblank_min_symbol_width()
103 link->dc->link_srv->dp_trace_source_sequence(link, in setup_hpo_dp_stream_attribute()
155 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_hpo_dp_link_test_pattern()
/linux-6.14.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_replay.c163 link->dc->link_srv->edp_setup_replay(link, stream); in amdgpu_dm_replay_enable()
164 link->dc->link_srv->edp_set_coasting_vtotal(link, stream->timing.v_total); in amdgpu_dm_replay_enable()
166 link->dc->link_srv->edp_set_replay_allow_active(link, &replay_active, wait, false, NULL); in amdgpu_dm_replay_enable()
191 link->dc->link_srv->edp_set_replay_allow_active(stream->link, &replay_active, true, false, NULL); in amdgpu_dm_replay_disable()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dce110/
Ddce110_hwseq.c739 hpd = ctx->dc->link_srv->get_hpd_gpio(ctx->dc_bios, connector, ctx->gpio_service); in dce110_edp_wait_for_hpd_ready()
806 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link)), 1000000); in dce110_edp_power_control()
811 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)), 1000000); in dce110_edp_power_control()
817 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
818 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link), in dce110_edp_power_control()
833 if (ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_power_control()
893 ctx->dc->link_srv->dp_trace_set_edp_power_timestamp(link, power_up); in dce110_edp_power_control()
898 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
899 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)); in dce110_edp_power_control()
927 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_wait_for_T12()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c115 dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
116 dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
135 dc->link_srv->edp_set_psr_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
137 dc->link_srv->edp_set_replay_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
Ddcn21_hwseq.c135 pipe_ctx->stream->ctx->dc->link_srv->set_dpms_on(context, pipe_ctx); in dcn21_PLAT_58856_wa()
136 pipe_ctx->stream->ctx->dc->link_srv->set_dpms_off(pipe_ctx); in dcn21_PLAT_58856_wa()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
Ddcn314_hwseq.c322 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn314_calculate_dccg_k1_k2_values()
479 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
513 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn314_disable_link_output()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
Ddcn31_hwseq.c179 dc->link_srv->blank_all_dp_displays(dc); in dcn31_init_hw()
207 dc->link_srv->blank_all_edp_displays(dc); in dcn31_init_hw()
398 else if (pipe_ctx->stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn31_update_info_frame()
552 dc->link_srv->set_dpms_off(pipe_ctx); in dcn31_reset_back_end_for_pipe()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn31/
Ddcn31_dio_link_encoder.c485 dpia_control.fec_rdy = link->dc->link_srv->dp_should_enable_fec(link); in dcn31_link_encoder_enable_dp_output()
532 dpia_control.fec_rdy = link->dc->link_srv->dp_should_enable_fec(link); in dcn31_link_encoder_enable_dp_mst_output()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c857 dc->link_srv->blank_all_dp_displays(dc); in dcn32_init_hw()
1186 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_calculate_dccg_k1_k2_values()
1314 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_unblank_stream()
1341 if (dc_is_dp_signal(pipe_ctx->stream->signal) && !dc->link_srv->dp_is_128b_132b_signal(pipe_ctx) && in dcn32_is_dp_dig_pixel_rate_div_policy()
1375 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
1410 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn32_disable_link_output()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn10/
Ddcn10_stream_encoder.c934 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_DP_VID_STREAM); in enc1_stream_encoder_dp_blank()
953 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_FIFO_STEER_RESET); in enc1_stream_encoder_dp_blank()
1026 link->dc->link_srv->dp_trace_source_sequence(link, in enc1_stream_encoder_dp_unblank()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h81 void link_destroy_link_service(struct link_service **link_srv);
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c226 dc->link_srv->blank_all_dp_displays(dc); in dcn401_init_hw()
786 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn401_enable_stream_timing()
894 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) in dcn401_enable_stream_calc()
937 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream()
968 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn401_enable_stream()
1084 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn401_disable_link_output()
1636 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_unblank_stream()
1835 dc->link_srv->set_dpms_off(pipe_ctx); in dcn401_reset_back_end_for_pipe()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn32/
Ddcn32_dio_stream_encoder.c346 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc32_stream_encoder_dp_unblank()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn314/
Ddcn314_dio_stream_encoder.c384 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc314_stream_encoder_dp_unblank()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn35/
Ddcn35_dio_stream_encoder.c364 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc35_stream_encoder_dp_unblank()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
Ddcn35_clk_mgr.c221 has_active_hpo = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(old_pipe) && in dcn35_disable_otg_wa()
222 dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(new_pipe); in dcn35_disable_otg_wa()
227 if (!has_active_hpo && !dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe) && in dcn35_disable_otg_wa()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dio/dcn20/
Ddcn20_stream_encoder.c549 link->dc->link_srv->dp_trace_source_sequence(link, in enc2_stream_encoder_dp_unblank()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
Ddcn20_hwseq.c872 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn20_enable_stream_timing()
878 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream_timing()
2767 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_unblank_stream()
2818 dc->link_srv->set_dpms_off(pipe_ctx); in dcn20_reset_back_end_for_pipe()
3019 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
3058 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn20_enable_stream()

12