Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/link/
A Dlink_factory.c60 link_srv->create_link = link_create; in construct_link_service_factory()
61 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
71 link_srv->detect_link = link_detect; in construct_link_service_detection()
77 link_srv->enable_hpd = link_enable_hpd; in construct_link_service_detection()
115 link_srv->resume = link_resume; in construct_link_service_dpms()
291 struct link_service *link_srv = kzalloc(sizeof(*link_srv), GFP_KERNEL); in link_create_link_service() local
293 if (link_srv == NULL) in link_create_link_service()
296 construct_link_service(link_srv); in link_create_link_service()
298 return link_srv; in link_create_link_service()
305 kfree(*link_srv); in link_destroy_link_service()
[all …]
/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_exports.c97 return link->dc->link_srv->get_status(link); in dc_link_get_status()
113 link->dc->link_srv->clear_dprx_states(link); in dc_link_clear_dprx_states()
138 dc->link_srv->get_cur_res_map(dc, map); in dc_get_cur_link_res_map()
143 dc->link_srv->restore_res_map(dc, map); in dc_restore_link_res_map()
204 link->dc->link_srv->dp_handle_automated_test(link); in dc_link_dp_handle_automated_test()
226 dc->link_srv->get_cur_link_res(link, &link_res); in dc_link_set_drive_settings()
301 return dc->link_srv->aux_transfer_raw( in dc_link_aux_transfer_raw()
393 link->dc->link_srv->dp_handle_link_loss(link); in dc_link_dp_handle_link_loss()
500 return link->dc->link_srv->get_hpd_state(link); in dc_link_get_hpd_state()
505 link->dc->link_srv->enable_hpd(link); in dc_link_enable_hpd()
[all …]
A Ddc.c162 dc->link_srv->destroy_link(&dc->links[i]); in destroy_links()
938 if (dc->link_srv) in dc_destruct()
939 link_destroy_link_service(&dc->link_srv); in dc_destruct()
1015 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
1016 if (!dc->link_srv) in dc_construct_ctx()
1451 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
3582 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
3625 dc->link_srv->update_dsc_config(pipe_ctx); in commit_planes_do_stream_update()
3632 dc->link_srv->reduce_mst_payload(pipe_ctx, in commit_planes_do_stream_update()
3661 dc->link_srv->set_dpms_off(pipe_ctx); in commit_planes_do_stream_update()
[all …]
/drivers/gpu/drm/amd/display/dc/link/hwss/
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 …]
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()
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 …]
A Dlink_hwss_dio.c64 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence(pipe_ctx->stream->link, in setup_dio_stream_encoder()
106 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in reset_dio_stream_encoder()
149 link->dc->link_srv->dp_trace_source_sequence(link, in setup_dio_stream_attribute()
178 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dio_dp_link_output()
196 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dio_link_output()
214 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dp_link_test_pattern()
276 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in enable_dio_audio_packet()
296 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in disable_dio_audio_packet()
A Dlink_hwss_dpia.c76 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dpia_link_test_pattern()
100 uint8_t fec_rdy = link->dc->link_srv->dp_should_enable_fec(link); in enable_dpia_link_output()
117 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dpia_link_output()
143 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dpia_link_output()
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()
/drivers/gpu/drm/amd/display/amdgpu_dm/
A 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()
/drivers/gpu/drm/amd/display/dc/hwss/dce110/
A Ddce110_hwseq.c1019 ctx->dc->link_srv->edp_receiver_ready_T7(link); in dce110_edp_backlight_control()
1064 ctx->dc->link_srv->edp_add_delay_for_T9(link); in dce110_edp_backlight_control()
1171 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dce110_disable_stream()
1260 link->dc->link_srv->edp_receiver_ready_T9(link); in dce110_blank_stream()
1313 link->dc->link_srv->dp_is_fec_supported(link)) { in populate_audio_dp_link_info()
1619 dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) in dce110_apply_single_controller_ctx_to_hw()
1699 dc->link_srv->set_dsc_enable(pipe_ctx, true); in dce110_apply_single_controller_ctx_to_hw()
1703 dc->link_srv->set_dpms_on(context, pipe_ctx); in dce110_apply_single_controller_ctx_to_hw()
1737 dc->link_srv->blank_dp_stream(dc->links[i], false); in power_down_encoders()
2311 dc->link_srv->set_dpms_off(pipe_ctx_old); in dce110_reset_hw_ctx_wrap()
[all …]
/drivers/gpu/drm/amd/display/dc/clk_mgr/
A 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()
/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
A 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()
561 dc->link_srv->set_dpms_off(pipe_ctx); in dcn31_reset_back_end_for_pipe()
575 dc->link_srv->set_dsc_enable(pipe_ctx, false); in dcn31_reset_back_end_for_pipe()
/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
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()
/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
A Ddcn314_hwseq.c336 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn314_calculate_dccg_k1_k2_values()
493 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
527 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn314_disable_link_output()
/drivers/gpu/drm/amd/display/dc/link/accessories/
A Dlink_dp_cts.c80 needs_divider_update = (link->dc->link_srv->dp_get_encoding_format(link_setting) != in dp_retrain_link_dp_test()
81 …link->dc->link_srv->dp_get_encoding_format((const struct dc_link_settings *) &link->cur_link_setti… in dp_retrain_link_dp_test()
107 link->dc->link_srv->dp_get_encoding_format(&pipes[i]->link_config.dp_link_settings), in dp_retrain_link_dp_test()
126 link->dc->link_srv->dp_is_128b_132b_signal(pipes[i])) in dp_retrain_link_dp_test()
/drivers/gpu/drm/amd/display/dc/dio/dcn31/
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()
/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
A Ddcn32_hwseq.c859 dc->link_srv->blank_all_dp_displays(dc); in dcn32_init_hw()
1191 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_calculate_dccg_k1_k2_values()
1320 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_unblank_stream()
1348 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()
1382 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
1417 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn32_disable_link_output()
/drivers/gpu/drm/amd/display/dc/dio/dcn10/
A Ddcn10_stream_encoder.c935 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_DP_VID_STREAM); in enc1_stream_encoder_dp_blank()
954 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_FIFO_STEER_RESET); in enc1_stream_encoder_dp_blank()
1027 link->dc->link_srv->dp_trace_source_sequence(link, in enc1_stream_encoder_dp_unblank()
/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
A Ddcn401_hwseq.c223 dc->link_srv->blank_all_dp_displays(dc); in dcn401_init_hw()
804 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn401_enable_stream_timing()
909 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) in dcn401_enable_stream_calc()
955 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream()
986 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn401_enable_stream()
1056 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn401_disable_link_output()
1608 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_unblank_stream()
1807 dc->link_srv->set_dpms_off(pipe_ctx); in dcn401_reset_back_end_for_pipe()
/drivers/gpu/drm/amd/display/dc/inc/
A Dlink.h81 void link_destroy_link_service(struct link_service **link_srv);
/drivers/gpu/drm/amd/display/dc/dio/dcn314/
A 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()
/drivers/gpu/drm/amd/display/dc/dio/dcn35/
A 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()
/drivers/gpu/drm/amd/display/dc/dio/dcn32/
A 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()
/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
A Ddcn20_hwseq.c881 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn20_enable_stream_timing()
887 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream_timing()
2772 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_unblank_stream()
2826 dc->link_srv->set_dpms_off(pipe_ctx); in dcn20_reset_back_end_for_pipe()
2872 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx) && dccg in dcn20_reset_back_end_for_pipe()
3035 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
3074 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn20_enable_stream()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
A Ddcn35_clk_mgr.c233 has_active_hpo = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(old_pipe) && in dcn35_disable_otg_wa()
234 dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(new_pipe); in dcn35_disable_otg_wa()
240 !dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe)) { in dcn35_disable_otg_wa()

Completed in 68 milliseconds

12