]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Revert "drm/mediatek: dsi: Fix DSI host and panel bridge pre-enable order"
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fri, 5 Dec 2025 09:51:49 +0000 (11:51 +0200)
committerLinus Walleij <linusw@kernel.org>
Sat, 3 Jan 2026 19:08:10 +0000 (20:08 +0100)
This reverts commit f5b1819193667bf62c3c99d3921b9429997a14b2.

As the original commit (c9b1150a68d9 ("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: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Cc: stable@vger.kernel.org # v6.17+
Fixes: c9b1150a68d9 ("drm/atomic-helper: Re-order bridge chain pre-enable and post-disable")
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Tested-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20251205-drm-seq-fix-v1-2-fda68fa1b3de@ideasonboard.com
drivers/gpu/drm/mediatek/mtk_dsi.c

index 0e2bcd5f67b767d92f2697a5b8183f67ee178a38..d7726091819c4762698b41060b3d4d8d27940238 100644 (file)
@@ -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);