mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/bridge: lt9611c: improve HPD handling and driver robustness
@ 2026-06-27 20:43 mohit.dsor
  2026-06-27 20:43 ` [PATCH 1/5] drm/bridge: lt9611c: fallback to cached HPD status on read failure mohit.dsor
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: mohit.dsor @ 2026-06-27 20:43 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-kernel, boss, qc-display-maintainer

From: Mohit Dsor <mohit.dsor@oss.qualcomm.com>

This series improves HPD handling and overall robustness of the
lt9611c bridge driver.

The HPD status read from the internal MCU may fail when the device
is not fully initialized, leading to spurious disconnect events.
This series mitigates such issues by falling back to a cached HPD
state and adds support for explicit HPD enable handling.

Additionally, it fixes DT parsing and bridge refcount handling,
corrects chip type initialization, and cleans up probe and remove
paths.

Tested on LT9611UXD platforms.

Signed-off-by: Mohit Dsor <mohit.dsor@oss.qualcomm.com>

Mohit Dsor (5):
  drm/bridge: lt9611c: fallback to cached HPD status on read failure
  drm/bridge: lt9611c: implement hpd_enable callback
  drm/bridge: lt9611c: fix DT parsing and bridge refcount
  drm/bridge: lt9611c: fix chip type initialization
  drm/bridge: lt9611c: clean up probe error and remove paths

 drivers/gpu/drm/bridge/lontium-lt9611c.c | 39 +++++++++++++++++++-----
 1 file changed, 32 insertions(+), 7 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/5] Subject: [PATCH 0/5] drm/bridge: lt9611c: improve HPD handling and driver robustness
@ 2026-06-27 21:04 Mohit Dsor
  2026-06-27 21:04 ` [PATCH 2/5] drm/bridge: lt9611c: implement hpd_enable callback Mohit Dsor
  0 siblings, 1 reply; 7+ messages in thread
From: Mohit Dsor @ 2026-06-27 21:04 UTC (permalink / raw)
  To: kernel, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Simona Vetter
  Cc: Mohit Dsor, dri-devel, linux-kernel, boss, qc-display-maintainer

This series improves HPD handling and overall robustness of the
lt9611c bridge driver.

The HPD status read from the internal MCU may fail when the device
is not fully initialized, leading to spurious disconnect events.
This series mitigates such issues by falling back to a cached HPD
state and adds support for explicit HPD enable handling.

Additionally, it fixes DT parsing and bridge refcount handling,
corrects chip type initialization, and cleans up probe and remove
paths to avoid redundant or unsafe resource handling.

The changes have been validated on LT9611UXD-based platforms.

Changes in this series:
- Fallback to cached HPD status on read failures
- Add hpd_enable callback implementation
- Fix DT parsing and bridge reference counting
- Correct chip_type initialization
- Clean up probe/remove error paths

Signed-off-by: Mohit Dsor <mohit.dsor@oss.qualcomm.com>

Signed-off-by: Mohit Dsor <mohit.dsor@oss.qualcomm.com>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://patch.msgid.link/20260513-lt9611uxd-main-v1-1-49e4ee4eafcf@oss.qualcomm.com

To: Andrzej Hajda <andrzej.hajda@intel.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
To: Robert Foss <rfoss@kernel.org>
To: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
To: Jonas Karlman <jonas@kwiboo.se>
To: Jernej Skrabec <jernej.skrabec@gmail.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org

---
Mohit Dsor (5):
      drm/bridge: lt9611c: fallback to cached HPD status on read failure
      drm/bridge: lt9611c: implement hpd_enable callback
      drm/bridge: lt9611c: fix DT parsing and bridge refcount
      drm/bridge: lt9611c: fix chip type initialization
      drm/bridge: lt9611c: clean up probe error and remove paths

 drivers/gpu/drm/bridge/lontium-lt9611c.c | 39 ++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 7 deletions(-)
---
base-commit: 04c2c33c284caa521524328939d67d78d581ebaf
change-id: 20260628-hpd_stable-6cee31998b8d
prerequisite-message-id: <20260508134009.4582-1-syyang@lontium.com>
prerequisite-patch-id: e9ce15b4a5842cfde130a813afecf136798179f4
prerequisite-patch-id: 569618a60e8c3615e7347c79b48c4756b7bf85d0
prerequisite-message-id: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com>
prerequisite-patch-id: b73480be758c902f497733155b478248a507931c
prerequisite-patch-id: c6eb91e2966154892770cd77785eb140fa0dba5e
prerequisite-patch-id: 536e974105afdf99db85a6d117b69206fe7c50ae
prerequisite-patch-id: da212266879bd72ab2848551a5e2dda4a1ae5c90

Best regards,
--  
Mohit Dsor <mohit.dsor@oss.qualcomm.com>


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

end of thread, other threads:[~2026-06-27 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 20:43 [PATCH 0/5] drm/bridge: lt9611c: improve HPD handling and driver robustness mohit.dsor
2026-06-27 20:43 ` [PATCH 1/5] drm/bridge: lt9611c: fallback to cached HPD status on read failure mohit.dsor
2026-06-27 20:43 ` [PATCH 2/5] drm/bridge: lt9611c: implement hpd_enable callback mohit.dsor
2026-06-27 20:43 ` [PATCH 3/5] drm/bridge: lt9611c: fix DT parsing and bridge refcount mohit.dsor
2026-06-27 20:43 ` [PATCH 4/5] drm/bridge: lt9611c: fix chip type initialization mohit.dsor
2026-06-27 20:43 ` [PATCH 5/5] drm/bridge: lt9611c: clean up probe error and remove paths mohit.dsor
2026-06-27 21:04 [PATCH 0/5] Subject: [PATCH 0/5] drm/bridge: lt9611c: improve HPD handling and driver robustness Mohit Dsor
2026-06-27 21:04 ` [PATCH 2/5] drm/bridge: lt9611c: implement hpd_enable callback Mohit Dsor

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®