Home
last modified time | relevance | path

Searched refs:link_enc (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c98 struct link_encoder *link_enc = link->link_enc; in dp_enable_link_phy() local
142 link_enc->funcs->enable_dp_output( in dp_enable_link_phy()
143 link_enc, in dp_enable_link_phy()
147 link_enc->funcs->enable_dp_mst_output( in dp_enable_link_phy()
148 link_enc, in dp_enable_link_phy()
234 link->link_enc->funcs->disable_output(link->link_enc, signal); in dp_disable_link_phy()
240 link->link_enc->funcs->disable_output(link->link_enc, signal); in dp_disable_link_phy()
300 struct link_encoder *encoder = link->link_enc; in dp_set_hw_lane_settings()
316 struct link_encoder *encoder = link->link_enc; in dp_set_hw_test_pattern()
355 link->link_enc->funcs->disable_output( in dp_retrain_link_dp_test()
[all …]
Ddc_link.c94 if (link->link_enc) in dc_link_destruct()
95 link->link_enc->funcs->destroy(&link->link_enc); in dc_link_destruct()
414 enum signal_type result = get_basic_signal_type(link->link_enc->id, in link_detect_sink()
800 if (!link->link_enc->funcs->is_in_alt_mode) in wait_for_entering_dp_alt_mode()
803 is_in_alt_mode = link->link_enc->funcs->is_in_alt_mode(link->link_enc); in wait_for_entering_dp_alt_mode()
814 if (link->link_enc->funcs->is_in_alt_mode(link->link_enc)) { in wait_for_entering_dp_alt_mode()
936 if (link->link_enc->features.flags.bits.DP_IS_USB_C == 1) { in dc_link_detect_helper()
1510 link->link_enc = in dc_link_construct()
1513 if (!link->link_enc) { in dc_link_construct()
1518 link->link_enc_hw_inst = link->link_enc->transmitter; in dc_link_construct()
[all …]
Ddc_link_dp.c133 struct encoder_feature_support *features = &link->link_enc->features; in decide_eq_training_pattern()
1630 link->link_enc->funcs->connect_dig_be_to_fe(link->link_enc, in perform_link_training_with_retries()
1823 link->link_enc->funcs->get_max_link_cap(link->link_enc, &max_link_cap); in get_max_link_cap()
2026 if (link->link_enc->features.flags.bits.DP_IS_USB_C && in dp_verify_link_cap()
3773 struct link_encoder *encoder = link->link_enc; in dc_link_dp_enable_hpd()
3781 struct link_encoder *encoder = link->link_enc; in dc_link_dp_disable_hpd()
4316 struct link_encoder *link_enc = link->link_enc; in dp_set_fec_ready() local
4322 if (link_enc->funcs->fec_set_ready && in dp_set_fec_ready()
4330 link_enc->funcs->fec_set_ready(link_enc, true); in dp_set_fec_ready()
4333 link->link_enc->funcs->fec_set_ready(link->link_enc, false); in dp_set_fec_ready()
[all …]
Ddc.c231 link->link_enc = kzalloc(sizeof(*link->link_enc), GFP_KERNEL); in create_links()
233 if (!link->link_enc) { in create_links()
248 virtual_link_encoder_construct(link->link_enc, &enc_init); in create_links()
873 enc_inst = link->link_enc->funcs->get_dig_frontend(link->link_enc); in disable_vbios_mode_if_required()
1173 if (!link->link_enc->funcs->is_dig_enabled(link->link_enc)) in dc_validate_seamless_boot_timing()
1176 enc_inst = link->link_enc->funcs->get_dig_frontend(link->link_enc); in dc_validate_seamless_boot_timing()
Ddc_resource.c2002 if (!link->link_enc->funcs->is_dig_enabled(link->link_enc)) in acquire_resource_from_hw_enabled_state()
2005 inst = link->link_enc->funcs->get_dig_frontend(link->link_enc); in acquire_resource_from_hw_enabled_state()
2918 if (!link->link_enc->funcs->validate_output_with_stream( in dc_validate_stream()
2919 link->link_enc, stream)) in dc_validate_stream()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c177 link->link_enc->funcs->psr_program_dp_dphy_fast_training(link->link_enc, in dce_dmcu_setup_psr()
225 link->link_enc->funcs->psr_program_secondary_packet(link->link_enc, in dce_dmcu_setup_psr()
396 if (ctx->dc->links[i]->link_enc->features.flags.bits.DP_IS_USB_C) { in dcn10_dmcu_init()
397 if (ctx->dc->links[i]->link_enc->transmitter >= TRANSMITTER_UNIPHY_A && in dcn10_dmcu_init()
398 ctx->dc->links[i]->link_enc->transmitter <= TRANSMITTER_UNIPHY_F) { in dcn10_dmcu_init()
399 tx_interrupt_mask |= 1 << ctx->dc->links[i]->link_enc->transmitter; in dcn10_dmcu_init()
612 link->link_enc->funcs->psr_program_dp_dphy_fast_training(link->link_enc, in dcn10_dmcu_setup_psr()
660 link->link_enc->funcs->psr_program_secondary_packet(link->link_enc, in dcn10_dmcu_setup_psr()
Ddmub_psr.c222 link->link_enc->funcs->psr_program_dp_dphy_fast_training(link->link_enc, in dmub_psr_copy_settings()
226 link->link_enc->funcs->psr_program_secondary_packet(link->link_enc, in dmub_psr_copy_settings()
Ddce_clk_mgr.c526 stream->link->link_enc->transmitter; in dce110_fill_display_configs()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c507 link->link_enc->funcs->hw_init(link->link_enc); in dcn30_init_hw()
510 if (link->link_enc->funcs->is_dig_enabled && in dcn30_init_hw()
511 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in dcn30_init_hw()
534 if (dc->links[i]->link_enc->funcs->get_dig_frontend) { in dcn30_init_hw()
537 fe = dc->links[i]->link_enc->funcs->get_dig_frontend( in dcn30_init_hw()
538 dc->links[i]->link_enc); in dcn30_init_hw()
577 edp_link->link_enc->funcs->is_dig_enabled && in dcn30_init_hw()
578 edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc) && in dcn30_init_hw()
589 if (link->link_enc->funcs->is_dig_enabled && in dcn30_init_hw()
590 link->link_enc->funcs->is_dig_enabled(link->link_enc) && in dcn30_init_hw()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c671 link->link_enc->funcs->connect_dig_be_to_fe(link->link_enc, in dce110_enable_stream()
721 struct graphics_object_id connector = link->link_enc->connector; in dce110_edp_wait_for_hpd_ready()
802 if (dal_graphics_object_id_get_connector_id(link->link_enc->connector) in dce110_edp_power_control()
878 cntl.transmitter = link->link_enc->transmitter; in dce110_edp_power_control()
879 cntl.connector_obj_id = link->link_enc->connector; in dce110_edp_power_control()
882 cntl.hpd_sel = link->link_enc->hpd_source; in dce110_edp_power_control()
936 if (dal_graphics_object_id_get_connector_id(link->link_enc->connector) in dce110_edp_backlight_control()
961 cntl.transmitter = link->link_enc->transmitter; in dce110_edp_backlight_control()
962 cntl.connector_obj_id = link->link_enc->connector; in dce110_edp_backlight_control()
965 cntl.hpd_sel = link->link_enc->hpd_source; in dce110_edp_backlight_control()
[all …]
Ddce110_resource.c900 pixel_clk_params->encoder_object_id = stream->link->link_enc->id; in get_pixel_clock_parameters()
1221 link->link_enc->preferred_engine) in dce110_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_link_encoder.c61 struct link_encoder *link_enc, in virtual_link_encoder_disable_output() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h151 void (*disable_output)(struct link_encoder *link_enc,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c433 struct link_encoder *lenc = dc->links[i]->link_enc; in dcn10_log_hw_state()
1339 link->link_enc->funcs->hw_init(link->link_enc); in dcn10_init_hw()
1342 if (link->link_enc->funcs->is_dig_enabled && in dcn10_init_hw()
1343 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in dcn10_init_hw()
1374 if (dc->links[i]->link_enc->funcs->get_dig_frontend) { in dcn10_init_hw()
1375 unsigned int fe = dc->links[i]->link_enc->funcs->get_dig_frontend(dc->links[i]->link_enc); in dcn10_init_hw()
1470 edp_link->link_enc->funcs->is_dig_enabled && in dcn10_power_down_on_boot()
1471 edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc) && in dcn10_power_down_on_boot()
1482 if (link->link_enc->funcs->is_dig_enabled && in dcn10_power_down_on_boot()
1483 link->link_enc->funcs->is_dig_enabled(link->link_enc) && in dcn10_power_down_on_boot()
Ddcn10_resource.c1071 pixel_clk_params->encoder_object_id = stream->link->link_enc->id; in get_pixel_clock_parameters()
1302 link->link_enc->preferred_engine) in dcn10_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_link.h138 struct link_encoder *link_enc; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c154 stream->link->link_enc->transmitter; in dce110_fill_display_configs()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c88 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in rn_get_active_display_cnt_wa()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c949 link->link_enc->preferred_engine) in dce100_find_first_free_match_stream_enc_for_link()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c853 switch (stream->link->link_enc->transmitter) { in find_matching_pll()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c2356 link->link_enc->funcs->connect_dig_be_to_fe(link->link_enc, in dcn20_enable_stream()
Ddcn20_resource.c1601 pixel_clk_params->encoder_object_id = stream->link->link_enc->id; in get_pixel_clock_parameters()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c6485 link->link_enc->features.hdmi_ycbcr420_supported ? true : false; in amdgpu_dm_connector_init_helper()
6490 link->link_enc->features.dp_ycbcr420_supported ? true : false; in amdgpu_dm_connector_init_helper()