mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/2] drm/komeda: use the bridge connector
@ 2026-11-30 11:52 Luo Liu
  2026-11-30 11:52 ` [PATCH v5 1/2] drm/komeda: Use " Luo Liu
  2026-11-30 11:52 ` [PATCH v5 2/2] drm/komeda: Use drmm_mode_config_init() Luo Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Luo Liu @ 2026-11-30 11:52 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Liviu Dudau,
	Russell King, dri-devel
  Cc: Ayan Halder, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Kory Maincent,
	Luca Ceresoli, David Airlie, Simona Vetter, linux-kernel,
	cix-kernel-upstream, Wuyi.Shen

Bridges following the new DRM bridge model no longer create a connector
themselves: the display driver has to attach them with
DRM_BRIDGE_ATTACH_NO_CONNECTOR and create one connector for the whole
chain with drm_bridge_connector_init().

Convert komeda to that model, so it keeps working with bridges that have
moved to the new one. The bridges komeda binds to in mainline support
connector-less attach, so boards using them are unaffected.

drm_bridge_connector_init() creates the connector with
drmm_connector_init(), which does not allow a ->destroy hook, so the mode
configuration has to be released by DRM as well. The second patch
switches komeda to drmm_mode_config_init() and adapts the private object
cleanup to the new teardown order.

This series was previously posted together with komeda teardown fixes
and a tda998x fix. Those are independent changes, so they are sent as a
separate fixes series.

Changes in v5:
- Split the fixes out of the series, as they are merged through a
  different tree. This series only contains the conversion to the bridge
  connector model.
- Added the missing cover letter.

Luo Liu (2):
  drm/komeda: Use the bridge connector
  drm/komeda: Use drmm_mode_config_init()

 drivers/gpu/drm/arm/display/Kconfig           |  2 ++
 .../gpu/drm/arm/display/komeda/komeda_crtc.c  | 18 ++++++++--
 .../gpu/drm/arm/display/komeda/komeda_kms.c   | 36 +++++++++++--------
 .../gpu/drm/arm/display/komeda/komeda_kms.h   |  2 +-
 .../arm/display/komeda/komeda_private_obj.c   | 23 +++++++++---
 5 files changed, 57 insertions(+), 24 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-11-30 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 11:52 [PATCH v5 0/2] drm/komeda: use the bridge connector Luo Liu
2026-11-30 11:52 ` [PATCH v5 1/2] drm/komeda: Use " Luo Liu
2026-11-30 17:30   ` Luca Ceresoli
2026-11-30 11:52 ` [PATCH v5 2/2] drm/komeda: Use drmm_mode_config_init() Luo Liu
2026-11-30 17:30   ` Luca Ceresoli

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®