Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c58 static void construct_link_service_factory(struct link_service *link_srv) in construct_link_service_factory() argument
61 link_srv->create_link = link_create; in construct_link_service_factory()
62 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
70 static void construct_link_service_detection(struct link_service *link_srv) in construct_link_service_detection() argument
72 link_srv->detect_link = link_detect; in construct_link_service_detection()
73 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
74 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
75 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
76 link_srv->get_hpd_state = link_get_hpd_state; in construct_link_service_detection()
77 link_srv->enable_hpd = link_enable_hpd; in construct_link_service_detection()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
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()
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 …]
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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c748 if (!(link->dc->link_srv->get_hpd_state(link) ^ power_up)) { in dce110_edp_wait_for_hpd_ready()
789 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link)), 1000000); in dce110_edp_power_control()
794 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)), 1000000); in dce110_edp_power_control()
800 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
801 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link), in dce110_edp_power_control()
816 if (ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_power_control()
876 ctx->dc->link_srv->dp_trace_set_edp_power_timestamp(link, power_up); in dce110_edp_power_control()
881 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link), in dce110_edp_power_control()
882 ctx->dc->link_srv->dp_trace_get_edp_poweron_timestamp(link)); in dce110_edp_power_control()
910 ctx->dc->link_srv->dp_trace_get_edp_poweroff_timestamp(link) != 0) { in dce110_edp_wait_for_T12()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c181 dc->link_srv->blank_all_dp_displays(dc); in dcn31_init_hw()
209 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()
573 dc->link_srv->set_dpms_off(pipe_ctx); in dcn31_reset_back_end_for_pipe()
587 dc->link_srv->set_dsc_enable(pipe_ctx, false); in dcn31_reset_back_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
H A Ddcn21_hwseq.c134 pipe_ctx->stream->ctx->dc->link_srv->set_dpms_on(context, pipe_ctx); in dcn21_PLAT_58856_wa()
135 pipe_ctx->stream->ctx->dc->link_srv->set_dpms_off(pipe_ctx); in dcn21_PLAT_58856_wa()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c868 dc->link_srv->blank_all_dp_displays(dc); in dcn32_init_hw()
1201 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_calculate_dccg_k1_k2_values()
1330 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn32_unblank_stream()
1358 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()
1392 dc->link_srv->dp_get_encoding_format( in apply_symclk_on_tx_off_wa()
1427 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn32_disable_link_output()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c169 dc->link_srv->destroy_link(&dc->links[i]); in destroy_links()
252 link = dc->link_srv->create_link(&link_init_params); in create_links()
275 link = dc->link_srv->create_link(&link_init_params); in create_links()
970 if (dc->link_srv) in dc_destruct()
971 link_destroy_link_service(&dc->link_srv); in dc_destruct()
1047 dc->link_srv = link_create_link_service(); in dc_construct_ctx()
1048 if (!dc->link_srv) in dc_construct_ctx()
1486 dc->link_srv->set_dpms_off(pipe); in disable_vbios_mode_if_required()
1992 if (dc->link_srv->edp_is_ilr_optimization_required(link, crtc_timing)) { in dc_validate_boot_timing()
3717 dc->link_srv->dp_trace_source_sequence( in commit_planes_do_stream_update()
[all …]
H A Ddc_resource.c2962 if (stream->ctx->dc->link_srv->dp_is_128b_132b_signal(otg_master)) { in resource_remove_otg_master_for_stream_output()
4011 if (!dc->link_srv->dp_decide_link_settings(stream, in resource_map_pool_resources()
4015 dc->link_srv->dp_decide_tunnel_settings(stream, in resource_map_pool_resources()
4018 if (dc->link_srv->dp_get_encoding_format( in resource_map_pool_resources()
5186 res = dc->link_srv->validate_mode_timing(stream, in dc_validate_stream()
5335 if (dc->link_srv->dp_get_encoding_format(link_settings) == DP_128b_132b_ENCODING) { in get_temp_dp_link_res()
5339 } else if (dc->link_srv->dp_get_encoding_format(link_settings) == DP_8b_10b_ENCODING && in get_temp_dp_link_res()
5587 …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()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c874 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn20_enable_stream_timing()
880 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream_timing()
2766 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_unblank_stream()
2820 dc->link_srv->set_dpms_off(pipe_ctx); in dcn20_reset_back_end_for_pipe()
2866 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx) && dccg in dcn20_reset_back_end_for_pipe()
3029 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn20_enable_stream()
3076 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn20_enable_stream()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c214 dc->link_srv->blank_all_dp_displays(dc); in dcn35_init_hw()
241 dc->link_srv->blank_all_edp_displays(dc); in dcn35_init_hw()
1551 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()
1780 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn35_disable_link_output()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce120/
H A Ddce120_resource.c670 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dce120_resource_destruct()
1277 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dce120_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c230 dc->link_srv->blank_all_dp_displays(dc); in dcn401_init_hw()
814 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn401_enable_stream_timing()
922 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream_calc()
968 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream()
999 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn401_enable_stream()
1069 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn401_disable_link_output()
1765 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_unblank_stream()
1975 dc->link_srv->set_dpms_off(pipe_ctx); in dcn401_reset_back_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_replay.c203 copy_settings_data->auxless_alpm_data.lttpr_count = link->dc->link_srv->dp_get_lttpr_count(link); in dmub_replay_copy_settings()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H 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()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c1058 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn303_resource_destruct()
1431 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn303_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c1114 dc->link_srv->destroy_ddc_service(&pool->oem_device); in dcn302_resource_destruct()
1499 pool->oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn302_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c542 use_hpo_encoder = dccg->ctx->dc->link_srv->dp_is_128b_132b_signal(otg_master); in dcn401_update_clocks_update_dtb_dto()
550 dccg->ctx->dc->link_srv->dp_get_encoding_format( in dcn401_update_clocks_update_dtb_dto()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1480 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn321_resource_destruct()
2012 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn321_resource_construct()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c3184 link->dc->link_srv->edp_replay_residency(link, &residency, is_start, PR_RESIDENCY_MODE_PHY); in replay_set_residency()
3197 link->dc->link_srv->edp_replay_residency(link, &residency, false, PR_RESIDENCY_MODE_PHY); in replay_get_residency()
3228 link->dc->link_srv->edp_get_psr_residency(link, &residency, PSR_RESIDENCY_MODE_PHY); in psr_read_residency()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1541 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn401_resource_destruct()
2253 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn401_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1193 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn30_resource_destruct()
2599 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn30_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1193 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn20_resource_destruct()
2749 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn20_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1500 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn32_resource_destruct()
2515 pool->base.oem_device = dc->link_srv->create_ddc_service(&ddc_init_data); in dcn32_resource_construct()

12