All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] drm/atomic-helpers: Fix MCDE/R-Car DU regressions
@ 2025-12-02 21:02 ` Linus Walleij
  0 siblings, 0 replies; 44+ messages in thread
From: Linus Walleij @ 2025-12-02 21:02 UTC (permalink / raw)
  To: Vicente Bergas, Tomi Valkeinen, Marek Vasut, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
	Laurent Pinchart, Tomi Valkeinen, Kieran Bingham,
	Geert Uytterhoeven, Magnus Damm, Aradhya Bhatia, Dmitry Baryshkov,
	Linus Walleij, Sandy Huang, Heiko Stübner, Andy Yan
  Cc: dri-devel, linux-renesas-soc, linux-rockchip, Linus Walleij,
	Geert Uytterhoeven, Aradhya Bhatia

This fixes two regressions experienced in the MCDE and
R-Car DU DRM drivers after
commit c9b1150a68d9362a0827609fc0dc1664c0d8bfe1
"drm/atomic-helper: Re-order bridge chain pre-enable and post-disable"
caused a series of regressions in all panels that send
DSI commands in their .prepare() and .unprepare()
callbacks.

This series make it possible to selectively bring back the
old behaviour with explicit semantics and implements
the old behaviour as modified commit tails in MCDE and
R-Car DU.

Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Changes in v6:
- As this problem has (probably) also appeared in the Rockchip
  driver, append an RFT patch for the Rockchip DRI driver at the
  end of the series.
- Ask Rockchip people if this solves their issue too.
- I was about to apply this with all the ACKs it had gotten,
  but let's decide what to do based on the Rockchip situation that
  appeared right now.
- Link to v5: https://lore.kernel.org/r/20251130-mcde-drm-regression-thirdfix-v5-0-aed71a32981d@kernel.org

Changes in v5:
- Prefix all exported atomic commit helpers with drm_atomic_helper_commit_*
- Add kerneldoc to all new exported atmomic commit helpers.
- Add comments into the MCDE and Rcar DU quirks explaining what is
  altered as compared to the standard helper functions.
- Link to v4: https://lore.kernel.org/r/20251121-mcde-drm-regression-thirdfix-v4-0-d89bf8c17f85@linaro.org

Changes in v4:
- Fix a copypaste-bug in the Renesas Rcar-DU driver.
- Actually compile this using the shmobile defconfig and make
  sure it works.
- Collect Geert's Tested-by.
- Link to v3: https://lore.kernel.org/r/20251120-mcde-drm-regression-thirdfix-v3-0-24b1e9886bbf@linaro.org

Changes in v3:
- Switch to a new approach: export helper functions and create the
  special helper directly in the driver instead.
- Drop Marek's patch and write a new RFT patch with the same
  semantic content as the MCDE patch.
- Link to v2: https://lore.kernel.org/r/20251118-mcde-drm-regression-v2-0-4fedf10b18f6@linaro.org

Changes in v2:
- Queue Marek's patch first in the series for coherency.
- Add a patch to also preserve the late CRTC disablement
  semantic.
- Rename helper function to reflect the new semantic.
- Update the MCDE patch to use the new callbacks.
- Link to v1: https://lore.kernel.org/r/20251118-mcde-drm-regression-v1-1-ed5583efbd68@linaro.org

---
Linus Walleij (4):
      drm/atomic-helper: Export and namespace some functions
      drm/mcde: Create custom commit tail
      drm/rcar-du: Modify custom commit tail
      RFT: drm/rockchip: Create custom commit tail

 drivers/gpu/drm/drm_atomic_helper.c           | 122 +++++++++++++++++++++-----
 drivers/gpu/drm/mcde/mcde_drv.c               |  45 +++++++++-
 drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c |  33 ++++++-
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c    |  50 ++++++++++-
 include/drm/drm_atomic_helper.h               |  22 +++++
 5 files changed, 244 insertions(+), 28 deletions(-)
---
base-commit: 6548d364a3e850326831799d7e3ea2d7bb97ba08
change-id: 20251120-mcde-drm-regression-thirdfix-1b0abfb52209

Best regards,
-- 
Linus Walleij <linusw@kernel.org>


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2025-12-08 10:54 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 21:02 [PATCH v6 0/4] drm/atomic-helpers: Fix MCDE/R-Car DU regressions Linus Walleij
2025-12-02 21:02 ` Linus Walleij
2025-12-02 21:02 ` [PATCH v6 1/4] drm/atomic-helper: Export and namespace some functions Linus Walleij
2025-12-02 21:02   ` Linus Walleij
2025-12-04 15:16   ` Aradhya Bhatia
2025-12-04 15:16     ` Aradhya Bhatia
2025-12-02 21:02 ` [PATCH v6 2/4] drm/mcde: Create custom commit tail Linus Walleij
2025-12-02 21:02   ` Linus Walleij
2025-12-03  6:27   ` Chaoyi Chen
2025-12-03  6:27     ` Chaoyi Chen
2025-12-03 23:13     ` Linus Walleij
2025-12-03 23:13       ` Linus Walleij
2025-12-04  2:07       ` Chaoyi Chen
2025-12-04  2:07         ` Chaoyi Chen
2025-12-04 13:54         ` Tomi Valkeinen
2025-12-04 13:54           ` Tomi Valkeinen
2025-12-05  1:54           ` Chaoyi Chen
2025-12-05  1:54             ` Chaoyi Chen
2025-12-04 15:17   ` Aradhya Bhatia
2025-12-04 15:17     ` Aradhya Bhatia
2025-12-02 21:02 ` [PATCH v6 3/4] drm/rcar-du: Modify " Linus Walleij
2025-12-02 21:02   ` Linus Walleij
2025-12-04 15:19   ` Aradhya Bhatia
2025-12-04 15:19     ` Aradhya Bhatia
2025-12-02 21:02 ` [PATCH v6 4/4] RFT: drm/rockchip: Create " Linus Walleij
2025-12-02 21:02   ` Linus Walleij
2025-12-03  3:10   ` Chaoyi Chen
2025-12-03  3:10     ` Chaoyi Chen
2025-12-03  9:54     ` Linus Walleij
2025-12-03  9:54       ` Linus Walleij
2025-12-03 11:59       ` Chaoyi Chen
2025-12-03 11:59         ` Chaoyi Chen
2025-12-05 13:53       ` Maxime Ripard
2025-12-05 13:53         ` Maxime Ripard
2025-12-05 14:11         ` Linus Walleij
2025-12-05 14:11           ` Linus Walleij
2025-12-08 10:53           ` Maxime Ripard
2025-12-08 10:53             ` Maxime Ripard
2025-12-03 14:11   ` Vicente Bergas
2025-12-03 14:11     ` Vicente Bergas
2025-12-04 15:40   ` Aradhya Bhatia
2025-12-04 15:40     ` Aradhya Bhatia
2025-12-04 15:16 ` [PATCH v6 0/4] drm/atomic-helpers: Fix MCDE/R-Car DU regressions Aradhya Bhatia
2025-12-04 15:16   ` Aradhya Bhatia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.