Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c70 int max_tmds_clock; member
246 if (hdmi->chip_data->max_tmds_clock && in dw_hdmi_rockchip_mode_valid()
247 mode->clock > hdmi->chip_data->max_tmds_clock) in dw_hdmi_rockchip_mode_valid()
432 .max_tmds_clock = 594000,
447 .max_tmds_clock = 340000,
468 .max_tmds_clock = 594000,
484 .max_tmds_clock = 594000,
498 .max_tmds_clock = 594000,
/linux/drivers/gpu/drm/tests/
H A Ddrm_hdmi_state_helper_test.c1128 KUNIT_ASSERT_GT(test, info->max_tmds_clock, 0); in drm_test_check_max_tmds_rate_bpc_fallback()
1138 KUNIT_ASSERT_GT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_max_tmds_rate_bpc_fallback()
1141 KUNIT_ASSERT_LT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_max_tmds_rate_bpc_fallback()
1197 KUNIT_ASSERT_GT(test, info->max_tmds_clock, 0); in drm_test_check_max_tmds_rate_format_fallback()
1207 KUNIT_ASSERT_LT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_max_tmds_rate_format_fallback()
1210 KUNIT_ASSERT_GT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_max_tmds_rate_format_fallback()
1213 KUNIT_ASSERT_LT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_max_tmds_rate_format_fallback()
1261 KUNIT_ASSERT_GT(test, info->max_tmds_clock, 0); in drm_test_check_output_bpc_format_vic_1()
1277 KUNIT_ASSERT_LT(test, rate, info->max_tmds_clock * 1000); in drm_test_check_output_bpc_format_vic_1()
1321 KUNIT_ASSERT_GT(test, info->max_tmds_clock, 0); in drm_test_check_output_bpc_format_driver_rgb_only()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_hdmi.c1819 int max_tmds_clock, vbt_max_tmds_clock; in intel_hdmi_source_max_tmds_clock() local
1822 max_tmds_clock = 600000; in intel_hdmi_source_max_tmds_clock()
1824 max_tmds_clock = 594000; in intel_hdmi_source_max_tmds_clock()
1826 max_tmds_clock = 300000; in intel_hdmi_source_max_tmds_clock()
1828 max_tmds_clock = 225000; in intel_hdmi_source_max_tmds_clock()
1830 max_tmds_clock = 165000; in intel_hdmi_source_max_tmds_clock()
1834 max_tmds_clock = min(max_tmds_clock, vbt_max_tmds_clock); in intel_hdmi_source_max_tmds_clock()
1836 return max_tmds_clock; in intel_hdmi_source_max_tmds_clock()
1858 int max_tmds_clock = intel_hdmi_source_max_tmds_clock(encoder); in hdmi_port_clock_limit() local
1864 if (hdmi->dp_dual_mode.max_tmds_clock) in hdmi_port_clock_limit()
[all …]
H A Dintel_dp.c1223 int max_tmds_clock = intel_dp->dfp.max_tmds_clock; in intel_dp_max_tmds_clock() local
1226 if (max_tmds_clock && info->max_tmds_clock) in intel_dp_max_tmds_clock()
1227 max_tmds_clock = min(max_tmds_clock, info->max_tmds_clock); in intel_dp_max_tmds_clock()
1229 return max_tmds_clock; in intel_dp_max_tmds_clock()
1238 int tmds_clock, min_tmds_clock, max_tmds_clock; in intel_dp_tmds_clock_valid() local
1246 max_tmds_clock = intel_dp_max_tmds_clock(intel_dp); in intel_dp_tmds_clock_valid()
1251 if (max_tmds_clock && tmds_clock > max_tmds_clock) in intel_dp_tmds_clock_valid()
5479 intel_dp->dfp.max_tmds_clock = in intel_dp_update_dfp()
5494 intel_dp->dfp.max_tmds_clock, in intel_dp_update_dfp()
5586 intel_dp->dfp.max_tmds_clock = 0; in intel_dp_unset_edid()
H A Dintel_display_types.h1504 int max_tmds_clock; member
1743 int min_tmds_clock, max_tmds_clock; member
H A Dintel_bios.c2631 int dp_boost_level, dp_max_link_rate, hdmi_boost_level, hdmi_level_shift, max_tmds_clock; in print_ddi_port() local
2663 max_tmds_clock = intel_bios_hdmi_max_tmds_clock(devdata); in print_ddi_port()
2664 if (max_tmds_clock) in print_ddi_port()
2667 port_name(port), max_tmds_clock); in print_ddi_port()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_connectors.c106 unsigned int 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/drivers/gpu/drm/meson/
H A Dmeson_encoder_hdmi.c135 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/drivers/gpu/drm/radeon/
H A 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/drivers/gpu/drm/
H A Ddrm_edid.c6202 int max_tmds_clock = 0; in drm_parse_hdmi_forum_scds() local
6227 max_tmds_clock = hf_scds[5] * 5000; in drm_parse_hdmi_forum_scds()
6229 if (max_tmds_clock > 340000) { in drm_parse_hdmi_forum_scds()
6230 info->max_tmds_clock = max_tmds_clock; in drm_parse_hdmi_forum_scds()
6258 max_tmds_clock, str_yes_no(max_frl_rate), str_yes_no(dsc_support)); in drm_parse_hdmi_forum_scds()
6335 info->max_tmds_clock = db[7] * 5000; in drm_parse_hdmi_vsdb_video()
6348 info->dvi_dual, info->max_tmds_clock); in drm_parse_hdmi_vsdb_video()
6586 info->max_tmds_clock = 0; in drm_reset_display_info()
/linux/include/drm/
H A Ddrm_connector.h743 int max_tmds_clock; member
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c1385 display->max_tmds_clock <= 340000) in dw_hdmi_support_scdc()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c6086 if (normalized_clk <= info->max_tmds_clock) { in adjust_colour_depth_from_display_info()