Message ID | 20221212182923.29155-3-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: exynos: dsi: Restore the bridge chain | expand |
On 12.12.22 19:29, Jagan Teki wrote: > From: Marek Szyprowski <m.szyprowski@samsung.com> > > Enable the drm bridge pre_enable_prev_first flag so that the > previous bridge pre_enable should be called first before the > pre_enable for the tc358764 bridge is called. > > This makes sure that the previous bridge should be initialized > properly before the tc358764 bridge is powered up. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c index 53259c12d777..f85654f1b104 100644 --- a/drivers/gpu/drm/bridge/tc358764.c +++ b/drivers/gpu/drm/bridge/tc358764.c @@ -369,6 +369,7 @@ static int tc358764_probe(struct mipi_dsi_device *dsi) ctx->bridge.funcs = &tc358764_bridge_funcs; ctx->bridge.of_node = dev->of_node; + ctx->bridge.pre_enable_prev_first = true; drm_bridge_add(&ctx->bridge);