public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] TI SN65DSI83 is being reset making display to blink On/Off
@ 2025-11-10 19:03 João Paulo Gonçalves
  2025-11-13  7:49 ` Herve Codina
  0 siblings, 1 reply; 22+ messages in thread
From: João Paulo Gonçalves @ 2025-11-10 19:03 UTC (permalink / raw)
  To: Herve Codina
  Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Tomi Valkeinen,
	João Paulo Gonçalves, linux-kernel, regressions

Hello,

After commit ad5c6ecef27e ("drm: bridge: ti-sn65dsi83: Add error
recovery mechanism"), our DSI display stopped working correctly. The
display internally uses a TI SN65DSI83 to convert DSI-to-LVDS, and with
the change, it keeps blinking on and off because the bridge is being
reset by the error recovery mechanism.

Even before the change, it was possible to see the message below from
the driver indicating that the bridge's internal PLL was not locked
(register 0xE5, bit 0 in [1]):

[ 11.198616] sn65dsi83 2-002c: Unexpected link status 0x01

However, it was working. After the change, it stopped working. Masking
the PLL error makes it work again:

diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi83.c b/drivers/gpu/drm/bridge/ti-sn65dsi83.c
index 033c44326552..89a0a2ab45b1 100644
--- a/drivers/gpu/drm/bridge/ti-sn65dsi83.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi83.c
@@ -429,7 +429,7 @@ static void sn65dsi83_handle_errors(struct sn65dsi83 *ctx)
         */

        ret = regmap_read(ctx->regmap, REG_IRQ_STAT, &irq_stat);
-       if (ret || irq_stat) {
+       if (ret || (irq_stat & ~REG_IRQ_STAT_CHA_PLL_UNLOCK)) {
                /*
                 * IRQ acknowledged is not always possible (the bridge can be in
                 * a state where it doesn't answer anymore). To prevent an

Any suggestions on how to proceed here?

#regzbot introduced: ad5c6ecef27e

[1] https://www.ti.com/lit/ds/symlink/sn65dsi83.pdf

Best Regards,
João Paulo Gonçalves

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

end of thread, other threads:[~2025-11-24 17:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-10 19:03 [REGRESSION] TI SN65DSI83 is being reset making display to blink On/Off João Paulo Gonçalves
2025-11-13  7:49 ` Herve Codina
2025-11-13  9:19   ` Francesco Dolcini
2025-11-17 15:27     ` Luca Ceresoli
2025-11-18 16:56       ` Maxime Ripard
2025-11-19  7:51         ` Herve Codina
2025-11-19  8:40           ` Maxime Ripard
2025-11-19  9:39             ` Tomi Valkeinen
2025-11-19 10:08             ` Luca Ceresoli
2025-11-19 11:12               ` Francesco Dolcini
2025-11-19 12:09                 ` Tomi Valkeinen
2025-11-19 12:24                   ` Francesco Dolcini
2025-11-19 17:27                     ` Luca Ceresoli
2025-11-19 18:40                       ` Herve Codina
2025-11-20  9:50                         ` Philippe Schenker
2025-11-21  9:58                           ` Maxime Ripard
2025-11-24 12:12                             ` Luca Ceresoli
2025-11-24 14:12                               ` Luca Ceresoli
2025-11-24 16:44                                 ` Emanuele Ghidoli
2025-11-24 15:55                               ` Maxime Ripard
2025-11-24 17:00                                 ` Luca Ceresoli
2025-11-21  9:57                         ` Maxime Ripard

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