| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_factory.c | 58 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 D | link_hwss_dio_fixed_vs_pe_retimer.c | 52 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 D | link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 62 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 D | link_hwss_dio.c | 65 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence(pipe_ctx->stream->link, in setup_dio_stream_encoder() 110 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in reset_dio_stream_encoder() 153 link->dc->link_srv->dp_trace_source_sequence(link, in setup_dio_stream_attribute() 182 link->dc->link_srv->dp_trace_source_sequence(link, in enable_dio_dp_link_output() 200 link->dc->link_srv->dp_trace_source_sequence(link, in disable_dio_link_output() 218 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); in set_dio_dp_link_test_pattern() 280 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in enable_dio_audio_packet() 300 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence( in disable_dio_audio_packet()
|
| H A D | link_hwss_dpia.c | 76 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()
|
| H A D | link_hwss_hpo_dp.c | 55 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 D | dce110_hwseq.c | 748 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 D | clk_mgr.c | 115 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 D | dcn31_hwseq.c | 181 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 D | dcn21_hwseq.c | 134 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 D | dcn32_hwseq.c | 868 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/dio/dcn10/ |
| H A D | dcn10_stream_encoder.c | 935 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()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 169 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 D | dc_resource.c | 2962 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/dio/dcn32/ |
| H A D | dcn32_dio_stream_encoder.c | 346 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc32_stream_encoder_dp_unblank()
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/ |
| H A D | dcn35_dio_stream_encoder.c | 364 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc35_stream_encoder_dp_unblank()
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/ |
| H A D | dcn314_dio_stream_encoder.c | 384 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc314_stream_encoder_dp_unblank()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 874 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 D | dcn35_hwseq.c | 214 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 D | dce120_resource.c | 670 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dce120_resource_destruct() 1278 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 D | dcn401_hwseq.c | 235 dc->link_srv->blank_all_dp_displays(dc); in dcn401_init_hw() 823 dc->link_srv->dp_get_encoding_format(&pipe_ctx->link_config.dp_link_settings), in dcn401_enable_stream_timing() 931 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream_calc() 977 if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_enable_stream() 1008 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); in dcn401_enable_stream() 1078 dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY); in dcn401_disable_link_output() 1774 if (link->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { in dcn401_unblank_stream() 1984 dc->link_srv->set_dpms_off(pipe_ctx); in dcn401_reset_back_end_for_pipe()
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/ |
| H A D | dcn20_stream_encoder.c | 549 link->dc->link_srv->dp_trace_source_sequence(link, in enc2_stream_encoder_dp_unblank()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dmub_replay.c | 203 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 D | dcn35_clk_mgr.c | 233 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/dio/dcn401/ |
| H A D | dcn401_dio_stream_encoder.c | 373 link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_ENABLE_DP_VID_STREAM); in enc401_stream_encoder_dp_unblank()
|