/linux-5.19.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 133 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() 336 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in vendor_specific_lttpr_wa_one_start() 384 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dp_fixed_vs_pe_read_lane_adjust() 433 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in vendor_specific_lttpr_wa_four() 477 link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dp_fixed_vs_pe_set_retimer_lane_settings() 537 link->dpcd_caps.max_ln_count.bits.POST_LT_ADJ_REQ_SUPPORTED; in dpcd_set_link_settings() 546 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_13 && in dpcd_set_link_settings() 1304 link->dpcd_caps.lttpr_caps.aux_rd_interval[offset - 1]); in perform_channel_equalization_sequence() [all …]
|
D | dc_link_ddc.c | 299 if (link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_VGA_CONVERTER && in defer_delay_converter_wa() 300 link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_0080E1 && in defer_delay_converter_wa() 301 (link->dpcd_caps.branch_fw_revision[0] < 0x01 || in defer_delay_converter_wa() 302 (link->dpcd_caps.branch_fw_revision[0] == 0x01 && in defer_delay_converter_wa() 303 link->dpcd_caps.branch_fw_revision[1] < 0x40)) && in defer_delay_converter_wa() 304 !memcmp(link->dpcd_caps.branch_dev_name, in defer_delay_converter_wa() 306 sizeof(link->dpcd_caps.branch_dev_name))) in defer_delay_converter_wa() 311 if (link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_0080E1 && in defer_delay_converter_wa() 312 !memcmp(link->dpcd_caps.branch_dev_name, in defer_delay_converter_wa() 314 sizeof(link->dpcd_caps.branch_dev_name))) in defer_delay_converter_wa() [all …]
|
D | dc_link_dpia.c | 59 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() 296 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_cr_non_transparent() 567 link->dpcd_caps.lttpr_caps.aux_rd_interval[hop - 1]); in dpia_get_eq_aux_rd_interval() 616 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_eq_non_transparent() 866 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dpia_training_end() 959 repeater_cnt = dp_convert_to_count(link->dpcd_caps.lttpr_caps.phy_repeater_cnt); in dc_link_dpia_perform_link_training()
|
D | dc_link.c | 693 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() 982 if (link->dpcd_caps.is_mst_capable || in should_verify_link_capability_destructively() 1023 struct dpcd_caps prev_dpcd_caps; in detect_link_and_local_sink() [all …]
|
D | dc.c | 279 link->link_status.dpcd_caps = &link->dpcd_caps; in create_links() 1610 if (link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) { in dc_validate_boot_timing()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_psr.c | 45 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() 69 if (link->dpcd_caps.psr_info.psr_version == 0) { in amdgpu_dm_set_psr_caps() 85 link->dpcd_caps.psr_info.psr_version); in amdgpu_dm_set_psr_caps()
|
D | amdgpu_dm_mst_types.c | 182 if (link->dpcd_caps.branch_dev_id == DP_BRANCH_DEVICE_ID_90CC24 && in needs_dsc_aux_workaround() 183 (link->dpcd_caps.dpcd_rev.raw == DPCD_REV_14 || link->dpcd_caps.dpcd_rev.raw == DPCD_REV_12) && in needs_dsc_aux_workaround() 184 link->dpcd_caps.sink_count.bits.SINK_COUNT >= 2) in needs_dsc_aux_workaround() 959 if (!(dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT || in is_dsc_need_re_compute() 960 dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_PASSTHROUGH_SUPPORT)) in is_dsc_need_re_compute() 1174 &dc_link->dpcd_caps.dsc_caps.dsc_basic_caps; in is_link_to_dschub()
|
D | amdgpu_dm_debugfs.c | 860 seq_printf(m, "Sink support: %s", str_yes_no(link->dpcd_caps.psr_info.psr_version != 0)); in psr_capability_show() 861 if (link->dpcd_caps.psr_info.psr_version) in psr_capability_show() 862 seq_printf(m, " [0x%02x]", link->dpcd_caps.psr_info.psr_version); in psr_capability_show() 1174 struct dpcd_caps dpcd_caps; in dp_dsc_fec_support_show() local 1194 dpcd_caps = aconnector->dc_link->dpcd_caps; in dp_dsc_fec_support_show() 1206 is_fec_supported = dpcd_caps.fec_cap.raw & 0x1; in dp_dsc_fec_support_show() 1207 is_dsc_supported = dpcd_caps.dsc_caps.dsc_basic_caps.raw[0] & 0x1; in dp_dsc_fec_support_show() 2811 dpcd_rev = link->dpcd_caps.dpcd_rev.raw; in edp_ilr_show() 2883 if (param[1] >= link->dpcd_caps.edp_supported_link_rates_count) in edp_ilr_write() 2903 prefer_link_settings.link_rate = link->dpcd_caps.edp_supported_link_rates[param[1]]; in edp_ilr_write()
|
D | amdgpu_dm_helpers.c | 707 memcmp(stream->link->dpcd_caps.branch_dev_name, in write_dsc_enable_synaptics_non_virtual_dpcd_mst() 761 if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in dm_helpers_dp_write_dsc_enable() 766 } else if (stream->sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in dm_helpers_dp_write_dsc_enable()
|
D | amdgpu_dm_hdcp.c | 483 link->dp.rev = aconnector->dc_link->dpcd_caps.dpcd_rev.raw; in update_config()
|
D | amdgpu_dm.c | 151 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 3183 if (link_status->dpcd_caps->dpcd_rev.raw < 0x12) { in dm_handle_mst_sideband_msg() 6191 if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE || in update_dsc_caps() 6192 sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) in update_dsc_caps() 6194 aconnector->dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.raw, in update_dsc_caps() 6195 aconnector->dc_link->dpcd_caps.dsc_caps.dsc_branch_decoder_caps.raw, in update_dsc_caps() 6286 if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_NONE) { in apply_dsc_policy_for_stream() 6298 } else if (sink->link->dpcd_caps.dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER) { in apply_dsc_policy_for_stream() 6584 if (stream->link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) in create_stream_for_sink()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_link.h | 43 struct dpcd_caps *dpcd_caps; member 196 struct dpcd_caps dpcd_caps; member
|
D | dc.h | 1188 struct dpcd_caps { struct
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 340 (!memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_1, in dmub_psr_copy_settings() 341 sizeof(link->dpcd_caps.sink_dev_id_str)) || in dmub_psr_copy_settings() 342 !memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_2, in dmub_psr_copy_settings() 343 sizeof(link->dpcd_caps.sink_dev_id_str)))) in dmub_psr_copy_settings()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/hdcp/ |
D | hdcp_msg.c | 341 (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-5.19.10/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.c | 797 if (link->dpcd_caps.edp_rev >= DP_EDP_14) { in is_psr_su_specific_panel() 798 if (link->dpcd_caps.psr_info.psr_version >= DP_PSR2_WITH_Y_COORD_ET_SUPPORTED) in is_psr_su_specific_panel() 805 if (link->dpcd_caps.psr_info.psr_version < DP_PSR2_WITH_Y_COORD_IS_SUPPORTED) in is_psr_su_specific_panel() 808 if (link->dpcd_caps.sink_dev_id == DP_BRANCH_DEVICE_ID_001CF8) { in is_psr_su_specific_panel() 815 if (link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_SUPPORT) in is_psr_su_specific_panel() 818 if (link->dpcd_caps.psr_info.force_psrsu_cap == 0x1) in is_psr_su_specific_panel()
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/link/ |
D | link_hwss_dio.c | 83 link->dpcd_caps.dprx_feature.bits.SST_SPLIT_SDP_CAP); in setup_dio_stream_attribute()
|