Skip to content

Commit b59d1d9

Browse files
Marek Vasutrobertfoss
authored andcommitted
drm/bridge: tc358767: Fix use of unadjusted mode in the driver
The driver configures mostly Pixel PLL from the clock cached in local copy of the mode. Make sure the driver uses adjusted mode which contains the updated Pixel PLL settings negotiated in tc_dpi_atomic_check()/tc_edp_atomic_check(). Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Robert Foss <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2eb747a commit b59d1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/bridge/tc358767.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ static void tc_bridge_mode_set(struct drm_bridge *bridge,
17071707
{
17081708
struct tc_data *tc = bridge_to_tc(bridge);
17091709

1710-
drm_mode_copy(&tc->mode, mode);
1710+
drm_mode_copy(&tc->mode, adj);
17111711
}
17121712

17131713
static const struct drm_edid *tc_edid_read(struct drm_bridge *bridge,

0 commit comments

Comments
 (0)