Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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

authored by

Tomi Valkeinen and committed by
Linus Walleij
33e8150b c1ef9a6c

-6
-6
drivers/gpu/drm/mediatek/mtk_dsi.c
··· 1002 1002 return PTR_ERR(dsi->next_bridge); 1003 1003 } 1004 1004 1005 - /* 1006 - * set flag to request the DSI host bridge be pre-enabled before device bridge 1007 - * in the chain, so the DSI host is ready when the device bridge is pre-enabled 1008 - */ 1009 - dsi->next_bridge->pre_enable_prev_first = true; 1010 - 1011 1005 drm_bridge_add(&dsi->bridge); 1012 1006 1013 1007 ret = component_add(host->dev, &mtk_dsi_component_ops);