Display output does not work when connecting a AM625 BeaglePlay board to a
DVI monitor, because the it66121 bridge driver assumes that the sink type
is always HDMI. This patch series fixes the issue.
Patch #1 moves the transmission mode and AVI infoframes enablement to the
.atomic_enable handler, because currently this logic is in the .mode_set
handler but that is called before .atomic_enable that is where the query
of the connector is done (that contains the display sink type).
Patch #2 then queries the display information to determine whether HDMI
or DVI mode should be set.
This is a v3 of the series, that addresses issues pointed out by Maxime.
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 (2):
drm/bridge: ite-it66121: Set TX mode in the .atomic_enable callback
drm/bridge: ite-it66121: Select HDMI or DVI mode based on sink type
drivers/gpu/drm/bridge/ite-it66121.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
--
2.54.0
base-commit: 19d584a634fe999786acfb0ac5289710cc84a5f6
branch: it66121-fix-dvi-mode-v3