From: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
Dmitry Baryshkov <lumag@kernel.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Liu Ying <victor.liu@nxp.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
Subject: [PATCH 0/2] drm/bridge: dw-hdmi: use display_info and support non-HDMI downstream connectors
Date: Thu, 3 Dec 2026 01:03:38 +0100 [thread overview]
Message-ID: <20261203000340.10415-1-gianfranco.mariotti94@gmail.com> (raw)
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
next reply other threads:[~2026-12-03 0:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 0:03 Gianfranco Mariotti [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203000340.10415-1-gianfranco.mariotti94@gmail.com \
--to=gianfranco.mariotti94@gmail.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=victor.liu@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®