Skip to content

drm: Revert and fix enable/disable sequence

Tomi Valkeinen dri-devel linux-arm-kernel linux-mediatek lkml stable 1 version In review

Get series with b4
b4 am [email protected] change-id 20251205-drm-seq-fix-b4ed1f56604b

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "drm/atomic-helper: Re-order bridge chain pre-enable and post-disable"drivers/gpu/drm/drm_atomic_helper.c include/drm/drm_bridge.h+70 -1871 reply
2/4Revert "drm/mediatek: dsi: Fix DSI host and panel bridge pre-enable order"drivers/gpu/drm/mediatek/mtk_dsi.c+0 -60 replies
3/4drm/atomic-helper: Export and namespace some functionsdrivers/gpu/drm/drm_atomic_helper.c include/drm/drm_atomic_helper.h+121 -231 reply
4/4drm/tidss: Fix enable/disable orderdrivers/gpu/drm/tidss/tidss_kms.c+27 -31 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarek VasutMaxime RipardLinus WalleijAradhya Bhatia
SeriesR-b R-b T-b
1/4R-b
2/4
3/4T-b R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] drm: Revert and fix enable/disable sequence

Changing the enable/disable sequence in commit c9b1150a68d9 ("drm/atomic-helper: Re-order bridge chain pre-enable and post-disable") has caused regressions on multiple platforms: R-Car, MCDE, Rockchip.

This is an alternate series to Linus' series:

https://lore.kernel.org/all/20251202-mcde-drm-regression-thirdfix-v6-0-f1bffd4ec0fa%40kernel.org/

This series first reverts the original commit and reverts a fix for mediatek which is no longer needed. It then exposes helper functions from DRM core, and finally implements the new sequence only in the tidss driver.

There is one more fix in upstream for the original commit, commit 5d91394f2361 ("drm/exynos: fimd: Guard display clock control with runtime PM calls"), but I have not reverted that one as it looks like a valid patch in its own.

I added Cc stable v6.17+ to all patches, but I didn't add Fixes tags, as I wasn't sure what should they point to. But I could perhaps add Fixes:
<original commit> to all of these.

---
Linus Walleij (1):
drm/atomic-helper: Export and namespace some functions

Tomi Valkeinen (3):
Revert "drm/atomic-helper: Re-order bridge chain pre-enable and post-disable" Revert "drm/mediatek: dsi: Fix DSI host and panel bridge pre-enable order" drm/tidss: Fix enable/disable order

 drivers/gpu/drm/drm_atomic_helper.c | 122 ++++++++++++++----
 drivers/gpu/drm/mediatek/mtk_dsi.c  |   6 -
 drivers/gpu/drm/tidss/tidss_kms.c   |  30 ++++-
 include/drm/drm_atomic_helper.h     |  22 ++++
 include/drm/drm_bridge.h            | 249 ++++++++++--------------------------
 5 files changed, 214 insertions(+), 215 deletions(-)

---
base-commit: 88e721ab978a86426aa08da520de77430fa7bb84
change-id: 20251205-drm-seq-fix-b4ed1f56604b

Best regards,

Signature · 1 line
Tomi Valkeinen <[email protected]>