[PATCH v4 0/3] drm/bridge: ite-it66121: Fix display output for DVI monitors
From: Javier Martinez Canillas
Date: Fri May 15 2026 - 05:13:12 EST
Display output does not work when connecting an AM625 BeaglePlay board to
a DVI monitor, because the DRM it66121 bridge driver assumes that the sink
type is always HDMI. This patch series fixes the issue.
Patch #1 reworks the driver to use the HDMI helpers instead of open coding
the AVI infoframes buffer management.
Patch #2 moves the .mode_set logic to the .atomic_enable handler.
Patch #3 finally fixes the mentioned issue by using the display information
to determine whether HDMI or DVI mode should be set.
This is a v4 of the series, that addresses issues pointed out by Maxime.
The patches were tested on both DVI and an HDMI monitors.
Changes in v4:
- Convert the driver to use the HDMI helpers (Maxime Ripard).
- Move .mode_set logic to .atomic_enable (Maxime Ripard).
Changes in v3:
- Move the HDMI/DVI mode set to the .atomic_enable handler (Maxime Ripard).
Changes in v2:
- Don't store the sink type in a per-commit bridge state (Maxime Ripard).
Javier Martinez Canillas (3):
drm/bridge: ite-it66121: Switch to the HDMI connector helpers
drm/bridge: ite-it66121: Move logic .mode_set setup to .atomic_enable
drm/bridge: ite-it66121: Select HDMI or DVI mode based on sink type
drivers/gpu/drm/bridge/Kconfig | 2 +
drivers/gpu/drm/bridge/ite-it66121.c | 198 ++++++++++++++++-----------
2 files changed, 121 insertions(+), 79 deletions(-)
--
2.54.0
base-commit: 4c26e162947f91aa78ba57dd4fddd38fc80e7d60
branch: it66121-fix-dvi-mode-v4