Commit 99fc8e96 authored by Andrey Gusakov's avatar Andrey Gusakov Committed by Andrzej Hajda

drm/bridge: tc358767: filter out too high modes

Pixel clock limitation for DPI is 154 MHz. Do not accept modes
with higher pixel clock rate.
Reviewed-by: default avatarAndrzej Hajda <>
Signed-off-by: default avatarAndrey Gusakov <>
Signed-off-by: default avatarAndrzej Hajda <>
parent cffd2b16
......@@ -1103,7 +1103,10 @@ static bool tc_bridge_mode_fixup(struct drm_bridge *bridge,
static int tc_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
/* Accept any mode */
/* DPI interface clock limitation: upto 154 MHz */
if (mode->clock > 154000)
return MODE_OK;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment