Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c56 static void construct_link_service_factory(struct link_service *link_srv) in construct_link_service_factory() argument
59 link_srv->create_link = link_create; in construct_link_service_factory()
60 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
68 static void construct_link_service_detection(struct link_service *link_srv) in construct_link_service_detection() argument
70 link_srv->detect_link = link_detect; in construct_link_service_detection()
71 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
72 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
73 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
74 link_srv->get_hpd_state = link_get_hpd_state; in construct_link_service_detection()
75 link_srv->get_hpd_gpio = link_get_hpd_gpio; in construct_link_service_detection()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_exports.c83 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect()
89 return link->dc->link_srv->detect_connection_type(link, type); in dc_link_detect_connection_type()
94 return link->dc->link_srv->get_status(link); in dc_link_get_status()
100 return link->dc->link_srv->is_hdcp1x_supported(link, signal); in dc_link_is_hdcp14()
105 return link->dc->link_srv->is_hdcp2x_supported(link, signal); in dc_link_is_hdcp22()
110 link->dc->link_srv->clear_dprx_states(link); in dc_link_clear_dprx_states()
115 return link->dc->link_srv->reset_cur_dp_mst_topology(link); in dc_link_reset_cur_dp_mst_topology()
122 return link->dc->link_srv->dp_link_bandwidth_kbps(link, link_settings); in dc_link_bandwidth_kbps()
127 dc->link_srv->get_cur_res_map(dc, map); in dc_get_cur_link_res_map()
132 dc->link_srv->restore_res_map(dc, map); in dc_restore_link_res_map()
[all …]
H A Ddc.c151 dc->link_srv->destroy_link(&dc->links[i]); in destroy_links()
220 link = dc->link_srv->create_link(&link_init_params); in create_links()
242 link = dc->link_srv->create_link(&link_init_params); in create_links()
822 if (dc->link_srv) in dc_destruct()
823 link_destroy_link_service(&dc->link_srv); in dc_destruct()
885 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
886 if (!dc->link_srv) in dc_construct_ctx()
1255 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
1717 if (dc->link_srv->edp_is_ilr_optimization_required(link, crtc_timing)) { in dc_validate_boot_timing()
3153 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
[all …]
H A Ddc_resource.c2472 if (dc->link_srv->dp_is_128b_132b_signal(del_pipe)) { in dc_remove_stream_from_ctx()
2772 if (!dc->link_srv->dp_decide_link_settings(stream, &pipe_ctx->link_config.dp_link_settings)) in resource_map_pool_resources()
2774 if (dc->link_srv->dp_get_encoding_format( in resource_map_pool_resources()
3956 res = dc->link_srv->validate_mode_timing(stream, in dc_validate_stream()
4083 if (dc->link_srv->dp_get_encoding_format(link_settings) == DP_128b_132b_ENCODING) { in get_temp_dp_link_res()
4316 …if (dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings) == DP_128b_132b_… in update_dp_encoder_resources_for_test_harness()
H A Ddc_link_enc_cfg.c51 stream->ctx->dc->link_srv->dp_decide_link_settings(stream, &link_settings); in is_dig_link_enc_stream()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A 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 …]
H A 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()
89 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
91 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
93 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
95 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
97 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern()
[all …]
H A Dlink_hwss_dio.c47 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence(pipe_ctx->stream->link, in setup_dio_stream_encoder()
69 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in reset_dio_stream_encoder()
112 link->dc->link_srv->dp_trace_source_sequence(link, in setup_dio_stream_attribute()
134 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dio_dp_link_output()
145 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dio_link_output()
156 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dp_link_test_pattern()
205 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in enable_dio_audio_packet()
225 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in disable_dio_audio_packet()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_replay.c136 link->dc->link_srv->edp_setup_replay(link, stream); in amdgpu_dm_replay_enable()
138 link->dc->link_srv->edp_set_replay_allow_active(link, NULL, false, false, NULL); in amdgpu_dm_replay_enable()
140 link->dc->link_srv->edp_set_replay_allow_active(link, &replay_active, false, true, NULL); in amdgpu_dm_replay_enable()
178 stream->link->dc->link_srv->edp_set_replay_allow_active(stream->link, NULL, false, false, NULL); in amdgpu_dm_replay_disable()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c741 hpd = ctx->dc->link_srv->get_hpd_gpio(ctx->dc_bios, connector, ctx->gpio_service); in dce110_edp_wait_for_hpd_ready()
810 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link)), 1000000); in dce110_edp_power_control()
815 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)), 1000000); in dce110_edp_power_control()
821 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
822 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link), in dce110_edp_power_control()
837 if (ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_power_control()
897 ctx->dc->link_srv->dp_trace_set_edp_power_timestamp(link, power_up); in dce110_edp_power_control()
902 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
903 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)); in dce110_edp_power_control()
931 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_wait_for_T12()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c119 dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
120 dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL); in clk_mgr_exit_optimized_pwr_state()
139 dc->link_srv->edp_set_psr_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
141 dc->link_srv->edp_set_replay_allow_active(edp_link, in clk_mgr_optimize_pwr_state()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A 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()
394 else if (pipe_ctx->stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn31_update_info_frame()
541 dc->link_srv->set_dpms_off(pipe_ctx); in dcn31_reset_back_end_for_pipe()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_hwseq.c349 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn314_calculate_dccg_k1_k2_values()
460 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
494 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn314_disable_link_output()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c848 dc->link_srv->blank_all_dp_displays(dc); in dcn32_init_hw()
1156 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_calculate_dccg_k1_k2_values()
1250 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_unblank_stream()
1277 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()
1311 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
1344 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn32_disable_link_output()
H A Ddcn32_dio_stream_encoder.c380 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc32_stream_encoder_dp_unblank()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h81 void link_destroy_link_service(struct link_service **link_srv);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c727 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn20_enable_stream_timing()
2454 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_unblank_stream()
2506 dc->link_srv->set_dpms_off(pipe_ctx); in dcn20_reset_back_end_for_pipe()
2736 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
2741 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
2774 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn20_enable_stream()
H A Ddcn20_stream_encoder.c549 link->dc->link_srv->dp_trace_source_sequence(link, in enc2_stream_encoder_dp_unblank()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c1108 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn302_resource_destruct()
1487 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn302_resource_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/
H A Ddcn303_resource.c1034 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn303_resource_destruct()
1399 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn303_resource_construct()

12