Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/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()
130 dc->link_srv->get_cur_res_map(dc, map); in dc_get_cur_link_res_map()
135 dc->link_srv->restore_res_map(dc, map); in dc_restore_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()
885 if (dc->link_srv) in dc_destruct()
886 link_destroy_link_service(&dc->link_srv); in dc_destruct()
959 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
960 if (!dc->link_srv) in dc_construct_ctx()
1346 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
1793 if (dc->link_srv->edp_is_ilr_optimization_required(link, crtc_timing)) { in dc_validate_boot_timing()
3291 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
[all …]
/linux-6.12.1/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()
168 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dio_link_output()
179 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dp_link_test_pattern()
228 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in enable_dio_audio_packet()
248 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in disable_dio_audio_packet()
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()
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()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
Ddcn31_hwseq.c177 dc->link_srv->blank_all_dp_displays(dc); in dcn31_init_hw()
205 dc->link_srv->blank_all_edp_displays(dc); in dcn31_init_hw()
396 else if (pipe_ctx->stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn31_update_info_frame()
543 dc->link_srv->set_dpms_off(pipe_ctx); in dcn31_reset_back_end_for_pipe()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
Ddcn314_hwseq.c310 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn314_calculate_dccg_k1_k2_values()
449 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
483 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn314_disable_link_output()
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c856 dc->link_srv->blank_all_dp_displays(dc); in dcn32_init_hw()
1183 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_calculate_dccg_k1_k2_values()
1311 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_unblank_stream()
1338 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()
1372 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
1407 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn32_disable_link_output()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn10/
Ddcn10_stream_encoder.c936 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_DP_VID_STREAM); in enc1_stream_encoder_dp_blank()
955 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_FIFO_STEER_RESET); in enc1_stream_encoder_dp_blank()
1028 link->dc->link_srv->dp_trace_source_sequence(link, in enc1_stream_encoder_dp_unblank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c310 dc->link_srv->blank_all_dp_displays(dc); in dcn401_init_hw()
855 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn401_enable_stream_timing()
959 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) in dcn401_enable_stream_calc()
1002 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream()
1032 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn401_enable_stream()
1641 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_unblank_stream()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h81 void link_destroy_link_service(struct link_service **link_srv);
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn314/
Ddcn314_dio_stream_encoder.c375 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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c202 dc->link_srv->blank_all_dp_displays(dc); in dcn35_init_hw()
232 dc->link_srv->blank_all_edp_displays(dc); in dcn35_init_hw()
1572 if (dc_is_dp_signal(pipe_ctx->stream->signal) && !dc->link_srv->dp_is_128b_132b_signal(pipe_ctx) && in dcn35_is_dp_dig_pixel_rate_div_policy()
/linux-6.12.1/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()
2739 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_unblank_stream()
2791 dc->link_srv->set_dpms_off(pipe_ctx); in dcn20_reset_back_end_for_pipe()
2995 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
3030 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn20_enable_stream()

12