/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 483 if ((link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT && in query_hdcp_capability() 486 link->connector_signal == SIGNAL_TYPE_EDP) { in query_hdcp_capability() 547 if (link->connector_signal == SIGNAL_TYPE_EDP) { in read_current_link_settings_on_detect() 867 if (dc_is_virtual_signal(link->connector_signal)) in detect_link_and_local_sink() 870 if (((link->connector_signal == SIGNAL_TYPE_LVDS || in detect_link_and_local_sink() 871 link->connector_signal == SIGNAL_TYPE_EDP) && in detect_link_and_local_sink() 875 if (link->connector_signal == SIGNAL_TYPE_EDP && in detect_link_and_local_sink() 902 switch (link->connector_signal) { in detect_link_and_local_sink() 996 link->connector_signal); in detect_link_and_local_sink() 1051 if (dc_is_hdmi_signal(link->connector_signal) || in detect_link_and_local_sink() [all …]
|
H A D | link_factory.c | 534 link->connector_signal = SIGNAL_TYPE_HDMI_TYPE_A; in construct_phy() 539 link->connector_signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in construct_phy() 543 link->connector_signal = SIGNAL_TYPE_DVI_DUAL_LINK; in construct_phy() 547 link->connector_signal = SIGNAL_TYPE_DISPLAY_PORT; in construct_phy() 555 link->connector_signal = SIGNAL_TYPE_EDP; in construct_phy() 588 link->connector_signal = SIGNAL_TYPE_LVDS; in construct_phy() 598 signal_type_to_string(link->connector_signal)); in construct_phy() 680 link->connector_signal != SIGNAL_TYPE_RGB) in construct_phy() 683 link->connector_signal == SIGNAL_TYPE_RGB) in construct_phy() 790 link->connector_signal = SIGNAL_TYPE_DISPLAY_PORT; in construct_dpia() [all …]
|
H A D | link_dpms.c | 81 if ((dc->links[i]->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) || in link_blank_all_dp_displays() 104 if ((dc->links[i]->connector_signal != SIGNAL_TYPE_EDP) || in link_blank_all_edp_displays() 121 enum signal_type signal = link->connector_signal; in link_blank_dp_stream() 170 dp_disable_link_phy(link, &link_res, link->connector_signal); in link_set_all_streams_dpms_off_for_link() 175 if (link->connector_signal != SIGNAL_TYPE_VIRTUAL) in link_resume() 1939 if (link->connector_signal == SIGNAL_TYPE_EDP) { in disable_link_dp()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.c | 104 if (link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) { in dp_get_panel_mode() 143 (link->connector_signal == SIGNAL_TYPE_EDP || in dp_get_panel_mode() 144 (link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT && in dp_get_panel_mode() 160 if (!link || (link->connector_signal != SIGNAL_TYPE_EDP && in edp_set_backlight_level_nits() 161 link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT)) in edp_set_backlight_level_nits() 213 if (!link || (link->connector_signal != SIGNAL_TYPE_EDP && in edp_get_backlight_level_nits() 214 link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT)) in edp_get_backlight_level_nits() 239 if (!link || (link->connector_signal != SIGNAL_TYPE_EDP && in edp_backlight_enable_aux() 240 link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT)) in edp_backlight_enable_aux() 254 if (!link || (link->connector_signal != SIGNAL_TYPE_EDP && in read_default_bl_aux() [all …]
|
H A D | link_dp_capability.c | 327 return (dc_is_dp_signal(link->connector_signal) && link_enc && in dp_is_fec_supported() 338 else if (link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT_MST && in dp_should_enable_fec() 342 else if (link->connector_signal == SIGNAL_TYPE_EDP in dp_should_enable_fec() 463 if (link->connector_signal == SIGNAL_TYPE_EDP && link->dc->debug.support_eDP1_5) in reduce_link_rate() 923 } else if (link->connector_signal == SIGNAL_TYPE_EDP) { in link_decide_link_settings() 968 if (!dc_is_dp_signal(link->connector_signal)) in mst_decide_link_encoding_format() 1228 dp_enable_link_phy(link, &link_res, link->connector_signal, in apply_usbc_combo_phy_reset_wa() 1230 dp_disable_link_phy(link, &link_res, link->connector_signal); in apply_usbc_combo_phy_reset_wa() 2159 link->connector_signal, in dp_verify_link_cap() 2185 dp_disable_link_phy(link, &link_res, link->connector_signal); in dp_verify_link_cap()
|
H A D | link_hpd.c | 186 switch (link->connector_signal) { in program_hpd_filter()
|
H A D | link_dp_irq_handler.c | 451 if ((link->connector_signal != SIGNAL_TYPE_EDP) && in dp_handle_hpd_rx_irq()
|
H A D | link_dp_training.c | 1073 if (link->connector_signal == SIGNAL_TYPE_EDP) { in dpcd_set_link_settings() 1452 if (link->connector_signal != SIGNAL_TYPE_EDP && status == LINK_TRAINING_SUCCESS) { in dp_transition_to_video_idle()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_link_exports.c | 54 if (dc->links[i]->connector_signal == SIGNAL_TYPE_EDP) { in dc_get_edp_links() 70 if (link->connector_signal != SIGNAL_TYPE_EDP) in dc_get_edp_link_panel_inst() 319 if (dc_is_dp_signal(link->connector_signal)) { in dc_link_get_highest_encoding_format() 329 } else if (dc_is_hdmi_signal(link->connector_signal)) { in dc_link_get_highest_encoding_format()
|
H A D | dc_stream.c | 43 stream->signal = stream->link->connector_signal; in update_stream_signal()
|
H A D | dc_link_enc_cfg.c | 46 if (link_enc && ((uint32_t)stream->link->connector_signal & link_enc->output_signals)) { in is_dig_link_enc_stream()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_link_encoder.c | 565 enum signal_type connector_signal, in dcn10_link_encoder_validate_dvi_output() argument 577 if (connector_signal != SIGNAL_TYPE_DVI_DUAL_LINK && in dcn10_link_encoder_validate_dvi_output() 578 connector_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in dcn10_link_encoder_validate_dvi_output() 586 if ((connector_signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn10_link_encoder_validate_dvi_output() 587 connector_signal == SIGNAL_TYPE_HDMI_TYPE_A) && in dcn10_link_encoder_validate_dvi_output() 798 stream->link->connector_signal, in dcn10_link_encoder_validate_output_with_stream()
|
H A D | dcn10_link_encoder.h | 517 enum signal_type connector_signal,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.c | 713 enum signal_type connector_signal, in dce110_link_encoder_validate_dvi_output() argument 725 if (connector_signal != SIGNAL_TYPE_DVI_DUAL_LINK && in dce110_link_encoder_validate_dvi_output() 726 connector_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in dce110_link_encoder_validate_dvi_output() 734 if ((connector_signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dce110_link_encoder_validate_dvi_output() 735 connector_signal == SIGNAL_TYPE_HDMI_TYPE_A) && in dce110_link_encoder_validate_dvi_output() 927 stream->link->connector_signal, in dce110_link_encoder_validate_output_with_stream()
|
H A D | dmub_replay.c | 155 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { in dmub_replay_copy_settings()
|
H A D | dce_link_encoder.h | 214 enum signal_type connector_signal,
|
H A D | dmub_psr.c | 310 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { in dmub_psr_copy_settings()
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.c | 81 if (!dc_is_embedded_signal(link->connector_signal)) in amdgpu_dm_setup_replay()
|
H A D | amdgpu_dm_psr.c | 64 if (!(link->connector_signal & SIGNAL_TYPE_EDP)) { in amdgpu_dm_set_psr_caps()
|
H A D | amdgpu_dm.c | 908 if (aconn->dc_link->connector_signal != SIGNAL_TYPE_EDP) in amdgpu_dm_fbc_init() 1392 } else if ((dc_link->connector_signal != SIGNAL_TYPE_EDP) && in dm_handle_hpd_rx_offload_work() 2697 switch (link->connector_signal) { in emulated_link_detect() 2738 link->connector_signal); in emulated_link_detect() 3078 aconnector->dc_link->connector_signal != SIGNAL_TYPE_EDP) in update_connector_ext_caps() 4325 if (!(link->connector_signal & (SIGNAL_TYPE_EDP | SIGNAL_TYPE_LVDS)) || in setup_backlight_device() 5672 sink_init_data.sink_signal = aconnector->dc_link->connector_signal; in create_fake_sink() 6534 if (link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT) { in handle_edid_mgmt() 7556 connector_type = to_drm_connector_type(link->connector_signal); in amdgpu_dm_connector_init()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/accessories/ |
H A D | link_dp_cts.c | 965 if (!dc_is_dp_signal(link->connector_signal) || in dp_set_preferred_link_settings() 1009 if (link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT && in dp_set_preferred_training_settings()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 93 if (pipe_ctx->stream->link->connector_signal != SIGNAL_TYPE_EDP) in dce60_should_enable_fbc()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 1611 enum signal_type signal = dc->links[i]->connector_signal; in power_down_encoders() 2024 if (pipe_ctx->stream->link->connector_signal != SIGNAL_TYPE_EDP) in should_enable_fbc() 3063 if (link->connector_signal == SIGNAL_TYPE_EDP) { in dce110_enable_dp_link_output()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 965 if (j >= 0 && link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT) in dce100_find_first_free_match_stream_enc_for_link()
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.c | 951 if ((link->connector_signal & SIGNAL_TYPE_EDP) && in psr_su_set_dsc_slice_height()
|