mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/panel: visionox-rm69299: Move off/sleep DSI commands to disable()
@ 2026-11-26 19:57 David Heidelberg via B4 Relay
  2026-11-26 19:57 ` [PATCH v2 1/2] " David Heidelberg via B4 Relay
  2026-11-26 19:57 ` [PATCH v2 2/2] drm/panel: visionox-rm69299: Move power_off() into unprepare() David Heidelberg via B4 Relay
  0 siblings, 2 replies; 6+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-11-26 19:57 UTC (permalink / raw)
  To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Douglas Anderson
  Cc: Guido Günther, Alexander Martinz, Dmitry Baryshkov,
	dri-devel, linux-kernel, phone-devel, David Heidelberg

On video-mode MSM DSI hosts with prepare_prev_first set, panel
unprepare() runs after the DPU timing engine has been disabled and
before the DSI host bridge post_disable() resets the video engine.
Sending DCS SET_DISPLAY_OFF in unprepare() therefore times out on every
screen blank/unblank on the SHIFT6mq:

  msm_dsi ae94000.dsi: [drm:dsi_cmds2buf_tx] *ERROR* wait for video done timed out
  dsi_cmds2buf_tx: cmd dma tx failed, type=0x5, data0=0x28, len=4, ret=-110
  panel-visionox-rm69299 ae94000.dsi.0: sending DCS SET_DISPLAY_OFF failed: -110

Move only the display-off / enter-sleep DCS commands from unprepare()
into disable() while keeping the power-on and initialization sequence in
prepare() (where the link is in LP11 before video starts), and fold
power_off() into unprepare().

---
Changes in v2:
- Keep power-on and init DSI commands in prepare() instead of moving
  them to enable() (Neil, Dmitry).
- Only fold visionox_rm69299_power_off() into unprepare(), keeping
  visionox_rm69299_power_on() for prepare() (Neil Armstrong).
- Verified on SHIFT6mq across repeated blank/unblank and
  backlight cycles with zero DSI timeouts and no stuck disp_cc clocks.
- Link to v1: https://patch.msgid.link/20260427-visionox-rm69299-enable-v1-0-fa7d62d26d87@sigxcpu.org

---
Guido Günther (2):
      drm/panel: visionox-rm69299: Move off/sleep DSI commands to disable()
      drm/panel: visionox-rm69299: Move power_off() into unprepare()

 drivers/gpu/drm/panel/panel-visionox-rm69299.c | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
---
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
change-id: 20260427-visionox-rm69299-enable-06f3d736f664

Best regards,
--  
David Heidelberg <david@ixit.cz>



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

end of thread, other threads:[~2026-12-02 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 19:57 [PATCH v2 0/2] drm/panel: visionox-rm69299: Move off/sleep DSI commands to disable() David Heidelberg via B4 Relay
2026-11-26 19:57 ` [PATCH v2 1/2] " David Heidelberg via B4 Relay
2026-12-02  3:33   ` Doug Anderson
2026-12-02 16:53     ` David Heidelberg
2026-11-26 19:57 ` [PATCH v2 2/2] drm/panel: visionox-rm69299: Move power_off() into unprepare() David Heidelberg via B4 Relay
2026-12-02  3:33   ` Doug Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®