mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/bridge: dw-hdmi: use display_info and support non-HDMI downstream connectors
@ 2026-12-03  0:03 Gianfranco Mariotti
  2026-12-03  0:03 ` [PATCH 1/2] drm/bridge: dw-hdmi: use connector->display_info for HDMI and audio detection Gianfranco Mariotti
  2026-12-03  0:03 ` [PATCH 2/2] drm/bridge: dw-hdmi: enable HDMI mode for non-HDMI/DVI downstream connectors Gianfranco Mariotti
  0 siblings, 2 replies; 3+ messages in thread
From: Gianfranco Mariotti @ 2026-12-03  0:03 UTC (permalink / raw)
  To: Neil Armstrong, Dmitry Baryshkov, Robert Foss, Laurent Pinchart,
	Jernej Skrabec, Luca Ceresoli
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Simona Vetter, Liu Ying, dri-devel, linux-kernel,
	Gianfranco Mariotti

This short series updates dw-hdmi's HDMI vs. DVI and audio detection to
use connector->display_info and fixes HDMI output framing when dw-hdmi
is chained to an active protocol-converting downstream bridge.

Patch 1 resolves the FIXME in dw_hdmi_edid_read() by removing the
deprecated drm_edid_raw() / drm_detect_hdmi_monitor() /
drm_detect_monitor_audio() calls and latching
connector->display_info.is_hdmi and connector->display_info.has_audio in
dw_hdmi_bridge_atomic_enable() under hdmi->mutex. This fixes HDMI and
audio detection when EDID is read by a downstream display-connector,
when an EDID override/firmware EDID is active, or when an EDID read
fails after unplugging an HDMI sink, while preserving the cached flags
across transient RXSENSE power cycles in dw_hdmi_irq().

Patch 2 enables HDMI TMDS framing (while keeping RGB full-range) when
the pipeline terminates in a non-HDMI/DVI connector (e.g. LVDS, eDP, DP,
or DSI behind a protocol-converting HDMI receiver bridge such as
Rockchip RK628 or Lontium LT9721), where the terminal connector's
display_info never carries an HDMI VSDB. Patch 1 stands independently if
reviewers prefer a more general bridge-level mechanism for Patch 2.

Gianfranco Mariotti (2):
  drm/bridge: dw-hdmi: use connector->display_info for HDMI and audio
    detection
  drm/bridge: dw-hdmi: enable HDMI mode for non-HDMI/DVI downstream
    connectors

 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 45 +++++++++++++++--------
 1 file changed, 30 insertions(+), 15 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-12-03  0:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  0:03 [PATCH 0/2] drm/bridge: dw-hdmi: use display_info and support non-HDMI downstream connectors Gianfranco Mariotti
2026-12-03  0:03 ` [PATCH 1/2] drm/bridge: dw-hdmi: use connector->display_info for HDMI and audio detection Gianfranco Mariotti
2026-12-03  0:03 ` [PATCH 2/2] drm/bridge: dw-hdmi: enable HDMI mode for non-HDMI/DVI downstream connectors Gianfranco Mariotti

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®