Commit 33e8150b authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Linus Walleij
Browse files

Revert "drm/mediatek: dsi: Fix DSI host and panel bridge pre-enable order"



This reverts commit f5b18191.

As the original commit (c9b1150a ("drm/atomic-helper: Re-order
bridge chain pre-enable and post-disable")) causing the issue has been
reverted, let's revert the fix for mediatek.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Cc: stable@vger.kernel.org # v6.17+
Fixes: c9b1150a ("drm/atomic-helper: Re-order bridge chain pre-enable and post-disable")
Reviewed-by: default avatarMaxime Ripard <mripard@kernel.org>
Reviewed-by: default avatarLinus Walleij <linusw@kernel.org>
Tested-by: default avatarLinus Walleij <linusw@kernel.org>
Signed-off-by: default avatarLinus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20251205-drm-seq-fix-v1-2-fda68fa1b3de@ideasonboard.com
parent c1ef9a6c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1002,12 +1002,6 @@ static int mtk_dsi_host_attach(struct mipi_dsi_host *host,
			return PTR_ERR(dsi->next_bridge);
	}

	/*
	 * set flag to request the DSI host bridge be pre-enabled before device bridge
	 * in the chain, so the DSI host is ready when the device bridge is pre-enabled
	 */
	dsi->next_bridge->pre_enable_prev_first = true;

	drm_bridge_add(&dsi->bridge);

	ret = component_add(host->dev, &mtk_dsi_component_ops);