Home
last modified time | relevance | path

Searched refs:max_tmds_clock (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_dual_mode_helper.c280 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-6.1.9/drivers/gpu/drm/i915/display/
Dintel_hdmi.c1781 int max_tmds_clock, vbt_max_tmds_clock; in intel_hdmi_source_max_tmds_clock() local
1784 max_tmds_clock = 594000; in intel_hdmi_source_max_tmds_clock()
1786 max_tmds_clock = 300000; in intel_hdmi_source_max_tmds_clock()
1788 max_tmds_clock = 225000; in intel_hdmi_source_max_tmds_clock()
1790 max_tmds_clock = 165000; in intel_hdmi_source_max_tmds_clock()
1794 max_tmds_clock = min(max_tmds_clock, vbt_max_tmds_clock); in intel_hdmi_source_max_tmds_clock()
1796 return max_tmds_clock; in intel_hdmi_source_max_tmds_clock()
1816 int max_tmds_clock = intel_hdmi_source_max_tmds_clock(encoder); in hdmi_port_clock_limit() local
1822 if (hdmi->dp_dual_mode.max_tmds_clock) in hdmi_port_clock_limit()
1823 max_tmds_clock = min(max_tmds_clock, in hdmi_port_clock_limit()
[all …]
Dintel_dp.c862 int max_tmds_clock = intel_dp->dfp.max_tmds_clock; in intel_dp_max_tmds_clock() local
865 if (max_tmds_clock && info->max_tmds_clock) in intel_dp_max_tmds_clock()
866 max_tmds_clock = min(max_tmds_clock, info->max_tmds_clock); in intel_dp_max_tmds_clock()
868 return max_tmds_clock; in intel_dp_max_tmds_clock()
876 int tmds_clock, min_tmds_clock, max_tmds_clock; in intel_dp_tmds_clock_valid() local
884 max_tmds_clock = intel_dp_max_tmds_clock(intel_dp); in intel_dp_tmds_clock_valid()
889 if (max_tmds_clock && tmds_clock > max_tmds_clock) in intel_dp_tmds_clock_valid()
4452 intel_dp->dfp.max_tmds_clock = in intel_dp_update_dfp()
4467 intel_dp->dfp.max_tmds_clock, in intel_dp_update_dfp()
4576 intel_dp->dfp.max_tmds_clock = 0; in intel_dp_unset_edid()
Dintel_display_types.h1512 int max_tmds_clock; member
1703 int min_tmds_clock, max_tmds_clock; member
Dintel_bios.c2630 int dp_boost_level, dp_max_link_rate, hdmi_boost_level, hdmi_level_shift, max_tmds_clock; in print_ddi_port() local
2655 max_tmds_clock = _intel_bios_max_tmds_clock(devdata); in print_ddi_port()
2656 if (max_tmds_clock) in print_ddi_port()
2659 port_name(port), max_tmds_clock); in print_ddi_port()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c105 unsigned mode_clock, max_tmds_clock; in amdgpu_connector_get_monitor_bpc() local
166 if (connector->display_info.max_tmds_clock > 0) { in amdgpu_connector_get_monitor_bpc()
171 max_tmds_clock = connector->display_info.max_tmds_clock; in amdgpu_connector_get_monitor_bpc()
174 connector->name, mode_clock, max_tmds_clock); in amdgpu_connector_get_monitor_bpc()
177 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
179 (mode_clock * 5/4 <= max_tmds_clock)) in amdgpu_connector_get_monitor_bpc()
188 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
/linux-6.1.9/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c133 if (display_info->max_tmds_clock && in meson_encoder_hdmi_mode_valid()
134 mode->clock > display_info->max_tmds_clock && in meson_encoder_hdmi_mode_valid()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_connector.c1027 const int max_tmds_clock = in get_tmds_link_bandwidth() local
1030 return info->max_tmds_clock ? in get_tmds_link_bandwidth()
1031 min(info->max_tmds_clock, max_tmds_clock) : in get_tmds_link_bandwidth()
1032 max_tmds_clock; in get_tmds_link_bandwidth()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_connectors.c106 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-6.1.9/include/drm/
Ddrm_connector.h585 int max_tmds_clock; member
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c5789 u32 max_tmds_clock = hf_scds[5] * 5000; in drm_parse_hdmi_forum_scds() local
5792 if (max_tmds_clock > 340000) { in drm_parse_hdmi_forum_scds()
5793 display->max_tmds_clock = max_tmds_clock; in drm_parse_hdmi_forum_scds()
5795 display->max_tmds_clock); in drm_parse_hdmi_forum_scds()
5949 info->max_tmds_clock = db[7] * 5000; in drm_parse_hdmi_vsdb_video()
5954 info->max_tmds_clock); in drm_parse_hdmi_vsdb_video()
6161 info->max_tmds_clock = 0; in drm_reset_display_info()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hdmi.c1778 if (info->max_tmds_clock && clock > (info->max_tmds_clock * 1000)) in vc4_hdmi_encoder_clock_valid()
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1402 display->max_tmds_clock <= 340000) in dw_hdmi_support_scdc()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c5187 if (normalized_clk <= info->max_tmds_clock) { in adjust_colour_depth_from_display_info()