/Linux-v6.6/drivers/gpu/drm/display/ |
D | drm_dp_dual_mode_helper.c | 280 uint8_t max_tmds_clock; in drm_dp_dual_mode_max_tmds_clock() local 295 &max_tmds_clock, sizeof(max_tmds_clock)); in drm_dp_dual_mode_max_tmds_clock() 296 if (ret || max_tmds_clock == 0x00 || max_tmds_clock == 0xff) { in drm_dp_dual_mode_max_tmds_clock() 301 return max_tmds_clock * 5000 / 2; in drm_dp_dual_mode_max_tmds_clock()
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_hdmi.c | 1772 int max_tmds_clock, vbt_max_tmds_clock; in intel_hdmi_source_max_tmds_clock() local 1775 max_tmds_clock = 594000; in intel_hdmi_source_max_tmds_clock() 1777 max_tmds_clock = 300000; in intel_hdmi_source_max_tmds_clock() 1779 max_tmds_clock = 225000; in intel_hdmi_source_max_tmds_clock() 1781 max_tmds_clock = 165000; in intel_hdmi_source_max_tmds_clock() 1785 max_tmds_clock = min(max_tmds_clock, vbt_max_tmds_clock); in intel_hdmi_source_max_tmds_clock() 1787 return max_tmds_clock; in intel_hdmi_source_max_tmds_clock() 1809 int max_tmds_clock = intel_hdmi_source_max_tmds_clock(encoder); in hdmi_port_clock_limit() local 1815 if (hdmi->dp_dual_mode.max_tmds_clock) in hdmi_port_clock_limit() 1816 max_tmds_clock = min(max_tmds_clock, in hdmi_port_clock_limit() [all …]
|
D | intel_dp.c | 1015 int max_tmds_clock = intel_dp->dfp.max_tmds_clock; in intel_dp_max_tmds_clock() local 1018 if (max_tmds_clock && info->max_tmds_clock) in intel_dp_max_tmds_clock() 1019 max_tmds_clock = min(max_tmds_clock, info->max_tmds_clock); in intel_dp_max_tmds_clock() 1021 return max_tmds_clock; in intel_dp_max_tmds_clock() 1030 int tmds_clock, min_tmds_clock, max_tmds_clock; in intel_dp_tmds_clock_valid() local 1038 max_tmds_clock = intel_dp_max_tmds_clock(intel_dp); in intel_dp_tmds_clock_valid() 1043 if (max_tmds_clock && tmds_clock > max_tmds_clock) in intel_dp_tmds_clock_valid() 4737 intel_dp->dfp.max_tmds_clock = in intel_dp_update_dfp() 4752 intel_dp->dfp.max_tmds_clock, in intel_dp_update_dfp() 4847 intel_dp->dfp.max_tmds_clock = 0; in intel_dp_unset_edid()
|
D | intel_display_types.h | 1587 int max_tmds_clock; member 1784 int min_tmds_clock, max_tmds_clock; member
|
D | intel_bios.c | 2564 int dp_boost_level, dp_max_link_rate, hdmi_boost_level, hdmi_level_shift, max_tmds_clock; in print_ddi_port() local 2596 max_tmds_clock = intel_bios_hdmi_max_tmds_clock(devdata); in print_ddi_port() 2597 if (max_tmds_clock) in print_ddi_port() 2600 port_name(port), max_tmds_clock); in print_ddi_port()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 106 unsigned mode_clock, max_tmds_clock; in amdgpu_connector_get_monitor_bpc() local 167 if (connector->display_info.max_tmds_clock > 0) { in amdgpu_connector_get_monitor_bpc() 172 max_tmds_clock = connector->display_info.max_tmds_clock; in amdgpu_connector_get_monitor_bpc() 175 connector->name, mode_clock, max_tmds_clock); in amdgpu_connector_get_monitor_bpc() 178 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc() 180 (mode_clock * 5/4 <= max_tmds_clock)) in amdgpu_connector_get_monitor_bpc() 189 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
|
/Linux-v6.6/drivers/gpu/drm/meson/ |
D | meson_encoder_hdmi.c | 135 if (display_info->max_tmds_clock && in meson_encoder_hdmi_mode_valid() 136 mode->clock > display_info->max_tmds_clock && in meson_encoder_hdmi_mode_valid()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_connector.c | 1031 const int max_tmds_clock = in get_tmds_link_bandwidth() local 1034 return info->max_tmds_clock ? in get_tmds_link_bandwidth() 1035 min(info->max_tmds_clock, max_tmds_clock) : in get_tmds_link_bandwidth() 1036 max_tmds_clock; in get_tmds_link_bandwidth()
|
/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 106 int mode_clock, max_tmds_clock; in radeon_get_monitor_bpc() local 174 if (connector->display_info.max_tmds_clock > 0) { in radeon_get_monitor_bpc() 179 max_tmds_clock = connector->display_info.max_tmds_clock; in radeon_get_monitor_bpc() 182 connector->name, mode_clock, max_tmds_clock); in radeon_get_monitor_bpc() 185 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in radeon_get_monitor_bpc() 187 (mode_clock * 5/4 <= max_tmds_clock)) in radeon_get_monitor_bpc() 196 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in radeon_get_monitor_bpc()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_edid.c | 6070 int max_tmds_clock = 0; in drm_parse_hdmi_forum_scds() local 6095 max_tmds_clock = hf_scds[5] * 5000; in drm_parse_hdmi_forum_scds() 6097 if (max_tmds_clock > 340000) { in drm_parse_hdmi_forum_scds() 6098 info->max_tmds_clock = max_tmds_clock; in drm_parse_hdmi_forum_scds() 6126 max_tmds_clock, str_yes_no(max_frl_rate), str_yes_no(dsc_support)); in drm_parse_hdmi_forum_scds() 6201 info->max_tmds_clock = db[7] * 5000; in drm_parse_hdmi_vsdb_video() 6214 info->dvi_dual, info->max_tmds_clock); in drm_parse_hdmi_vsdb_video() 6452 info->max_tmds_clock = 0; in drm_reset_display_info()
|
/Linux-v6.6/include/drm/ |
D | drm_connector.h | 716 int max_tmds_clock; member
|
/Linux-v6.6/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 2028 if (info->max_tmds_clock && clock > (info->max_tmds_clock * 1000)) in vc4_hdmi_encoder_clock_valid()
|
/Linux-v6.6/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 1388 display->max_tmds_clock <= 340000) in dw_hdmi_support_scdc()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 5463 if (normalized_clk <= info->max_tmds_clock) { in adjust_colour_depth_from_display_info()
|