Home
last modified time | relevance | path

Searched refs:dpcd_caps (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c133 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_cr_training_aux_rd_interval()
160 link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval()
276 struct dpcd_caps *rx_caps = &link->dpcd_caps; in decide_eq_training_pattern()
339 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dp_fixed_vs_pe_read_lane_adjust()
387 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dp_fixed_vs_pe_set_retimer_lane_settings()
447 link->dpcd_caps.max_ln_count.bits.POST_LT_ADJ_REQ_SUPPORTED; in dpcd_set_link_settings()
456 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_13 && in dpcd_set_link_settings()
1203 link->dpcd_caps.lttpr_caps.aux_rd_interval[offset - 1]); in perform_channel_equalization_sequence()
1383 if (link->dpcd_caps.max_ln_count.bits.POST_LT_ADJ_REQ_SUPPORTED != 1 || in dp_transition_to_video_idle()
1502 link->dpcd_caps.lttpr_caps.phy_repeater_cnt) + 1) * 20000; in decide_128b_132b_training_settings()
[all …]
Ddc_link_ddc.c296 if (link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_VGA_CONVERTER && in defer_delay_converter_wa()
297 link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_0080E1 && in defer_delay_converter_wa()
298 (link->dpcd_caps.branch_fw_revision[0] < 0x01 || in defer_delay_converter_wa()
299 (link->dpcd_caps.branch_fw_revision[0] == 0x01 && in defer_delay_converter_wa()
300 link->dpcd_caps.branch_fw_revision[1] < 0x40)) && in defer_delay_converter_wa()
301 !memcmp(link->dpcd_caps.branch_dev_name, in defer_delay_converter_wa()
303 sizeof(link->dpcd_caps.branch_dev_name))) in defer_delay_converter_wa()
308 if (link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_0080E1 && in defer_delay_converter_wa()
309 !memcmp(link->dpcd_caps.branch_dev_name, in defer_delay_converter_wa()
311 sizeof(link->dpcd_caps.branch_dev_name))) in defer_delay_converter_wa()
[all …]
Ddc_link_dpia.c59 link->dpcd_caps.usb4_dp_tun_info.dp_tun_cap.raw = in dpcd_get_tunneling_device_data()
62 link->dpcd_caps.usb4_dp_tun_info.dpia_info.raw = in dpcd_get_tunneling_device_data()
64 link->dpcd_caps.usb4_dp_tun_info.usb4_driver_id = in dpcd_get_tunneling_device_data()
68 link->dpcd_caps.usb4_dp_tun_info.usb4_topology_id[i] = dpcd_topology_data[i]; in dpcd_get_tunneling_device_data()
309 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_cr_non_transparent()
578 link->dpcd_caps.lttpr_caps.aux_rd_interval[hop - 1]); in dpia_get_eq_aux_rd_interval()
627 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_eq_non_transparent()
883 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_end()
982 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dc_link_dpia_perform_link_training()
Ddc_link.c693 if (link_rate_set < link->dpcd_caps.edp_supported_link_rates_count) { in read_current_link_settings_on_detect()
695 link->dpcd_caps.edp_supported_link_rates[link_rate_set]; in read_current_link_settings_on_detect()
738 link->dpcd_caps.dongle_type = sink_caps->dongle_type; in detect_dp()
739 link->dpcd_caps.is_dongle_type_one = sink_caps->is_dongle_type_one; in detect_dp()
740 link->dpcd_caps.dpcd_rev.raw = 0; in detect_dp()
814 link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_90CC24 && in apply_dpia_mst_dsc_always_on_wa()
815 link->dpcd_caps.branch_hw_revision == DP_BRANCH_HW_REV_20 && in apply_dpia_mst_dsc_always_on_wa()
816 link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT && in apply_dpia_mst_dsc_always_on_wa()
976 if (link->dpcd_caps.is_mst_capable || in should_verify_link_capability_destructively()
1017 struct dpcd_caps prev_dpcd_caps; in detect_link_and_local_sink()
[all …]
Ddc.c279 link->link_status.dpcd_caps = &link->dpcd_caps; in create_links()
1650 if (link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) { in dc_validate_boot_timing()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c45 if (!link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP || in link_supports_psrsu()
46 !link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED) in link_supports_psrsu()
49 if (link->dpcd_caps.psr_info.psr_dpcd_caps.bits.SU_GRANULARITY_REQUIRED && in link_supports_psrsu()
50 !link->dpcd_caps.psr_info.psr2_su_y_granularity_cap) in link_supports_psrsu()
73 if (link->dpcd_caps.psr_info.psr_version == 0) { in amdgpu_dm_set_psr_caps()
89 link->dpcd_caps.psr_info.psr_version, in amdgpu_dm_set_psr_caps()
90 link->dpcd_caps.psr_info.psr_dpcd_caps.raw, in amdgpu_dm_set_psr_caps()
91 link->dpcd_caps.psr_info.psr2_su_y_granularity_cap); in amdgpu_dm_set_psr_caps()
Damdgpu_dm_mst_types.c203 if (link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_90CC24 && in needs_dsc_aux_workaround()
204 (link->dpcd_caps.dpcd_rev.raw == DPCD_REV_14 || link->dpcd_caps.dpcd_rev.raw == DPCD_REV_12) && in needs_dsc_aux_workaround()
205 link->dpcd_caps.sink_count.bits.SINK_COUNT >= 2) in needs_dsc_aux_workaround()
1025 if (!(dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT || in is_dsc_need_re_compute()
1026 dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_PASSTHROUGH_SUPPORT)) in is_dsc_need_re_compute()
1236 &dc_link->dpcd_caps.dsc_caps.dsc_basic_caps; in is_link_to_dschub()
Damdgpu_dm_debugfs.c867 seq_printf(m, "Sink support: %s", str_yes_no(link->dpcd_caps.psr_info.psr_version != 0)); in psr_capability_show()
868 if (link->dpcd_caps.psr_info.psr_version) in psr_capability_show()
869 seq_printf(m, " [0x%02x]", link->dpcd_caps.psr_info.psr_version); in psr_capability_show()
1168 struct dpcd_caps dpcd_caps; in dp_dsc_fec_support_show() local
1188 dpcd_caps = aconnector->dc_link->dpcd_caps; in dp_dsc_fec_support_show()
1200 is_fec_supported = dpcd_caps.fec_cap.raw & 0x1; in dp_dsc_fec_support_show()
1201 is_dsc_supported = dpcd_caps.dsc_caps.dsc_basic_caps.raw[0] & 0x1; in dp_dsc_fec_support_show()
2910 dpcd_rev = link->dpcd_caps.dpcd_rev.raw; in edp_ilr_show()
2982 if (param[1] >= link->dpcd_caps.edp_supported_link_rates_count) in edp_ilr_write()
3002 prefer_link_settings.link_rate = link->dpcd_caps.edp_supported_link_rates[param[1]]; in edp_ilr_write()
Damdgpu_dm_helpers.c659 memcmp(stream->link->dpcd_caps.branch_dev_name, in write_dsc_enable_synaptics_non_virtual_dpcd_mst()
750 if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in dm_helpers_dp_write_dsc_enable()
755 } else if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in dm_helpers_dp_write_dsc_enable()
Damdgpu_dm_hdcp.c493 link->dp.rev = aconnector->dc_link->dpcd_caps.dpcd_rev.raw; in update_config()
Damdgpu_dm.c175 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type()
3134 if (link_status->dpcd_caps->dpcd_rev.raw < 0x12) { in dm_handle_mst_sideband_msg()
5579 if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE || in update_dsc_caps()
5580 sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) in update_dsc_caps()
5582 aconnector->dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.raw, in update_dsc_caps()
5583 aconnector->dc_link->dpcd_caps.dsc_caps.dsc_branch_decoder_caps.raw, in update_dsc_caps()
5676 if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in apply_dsc_policy_for_stream()
5687 } else if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in apply_dsc_policy_for_stream()
5865 if (stream->link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) in create_stream_for_sink()
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c798 struct dpcd_caps *dpcd_caps = &link->dpcd_caps; in is_psr_su_specific_panel() local
800 if (dpcd_caps->edp_rev >= DP_EDP_14) { in is_psr_su_specific_panel()
801 if (dpcd_caps->psr_info.psr_version >= DP_PSR2_WITH_Y_COORD_ET_SUPPORTED) in is_psr_su_specific_panel()
808 if (dpcd_caps->sink_dev_id == DP_BRANCH_DEVICE_ID_001CF8) { in is_psr_su_specific_panel()
813 if (dpcd_caps->psr_info.psr_version < DP_PSR2_WITH_Y_COORD_IS_SUPPORTED) in is_psr_su_specific_panel()
815 else if (dpcd_caps->dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT && in is_psr_su_specific_panel()
816 ((dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x08) || in is_psr_su_specific_panel()
817 (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x07))) in is_psr_su_specific_panel()
819 else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) in is_psr_su_specific_panel()
858 struct dpcd_caps *dpcd_caps = &link->dpcd_caps; in mod_power_calc_psr_configs() local
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_link.h43 struct dpcd_caps *dpcd_caps; member
227 struct dpcd_caps dpcd_caps; member
Ddc.h1346 struct dpcd_caps { struct
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c394 link->dpcd_caps.sink_dev_id == DP_DEVICE_ID_38EC11 && in dmub_psr_copy_settings()
395 !memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_1, in dmub_psr_copy_settings()
403 link->dpcd_caps.sink_dev_id == DP_DEVICE_ID_38EC11 && in dmub_psr_copy_settings()
404 (!memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_1, in dmub_psr_copy_settings()
406 !memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_2, in dmub_psr_copy_settings()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/hdcp/
Dhdcp_msg.c341 (link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_VGA_CONVERTER || in get_protection_properties_by_signal()
342 link->dpcd_caps.dongle_caps.dongle_type == DISPLAY_DONGLE_DP_VGA_CONVERTER)) { in get_protection_properties_by_signal()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_dio.c90 link->dpcd_caps.dprx_feature.bits.SST_SPLIT_SDP_CAP); in setup_dio_stream_attribute()