1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/bridge/synopsys
Neil Armstrong 1528038385 drm/bridge: dw-hdmi: use safe format when first in bridge chain
When the dw-hdmi bridge is in first place of the bridge chain, this
means there is no way to select an input format of the dw-hdmi HW
component.

Since introduction of display-connector, negotiation was broken since
the dw-hdmi negotiation code only worked when the dw-hdmi bridge was
in last position of the bridge chain or behind another bridge also
supporting input & output format negotiation.

Commit 7cd70656d1 ("drm/bridge: display-connector: implement bus fmts callbacks")
was introduced to make negotiation work again by making display-connector
act as a pass-through concerning input & output format negotiation.

But in the case where the dw-hdmi is single in the bridge chain, for
example on Renesas SoCs, with the display-connector bridge the dw-hdmi
is no more single, breaking output format.

Reported-by: Biju Das <biju.das.jz@bp.renesas.com>
Bisected-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fixes: 6c3c719936 ("drm/bridge: synopsys: dw-hdmi: add bus format negociation")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: add proper fixes commit]
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204143337.89221-1-narmstrong@baylibre.com
2022-02-10 16:36:53 +01:00
..
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:05:45 +01:00
dw-hdmi-audio.h drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:05:45 +01:00
dw-hdmi-cec.c drm/bridge: dw-hdmi-cec: Make use of the helper function devm_add_action_or_reset() 2021-10-06 11:21:46 +02:00
dw-hdmi-cec.h drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-i2s-audio.c drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:05:45 +01:00
dw-hdmi.c drm/bridge: dw-hdmi: use safe format when first in bridge chain 2022-02-10 16:36:53 +01:00
dw-hdmi.h drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support 2019-10-10 12:50:00 +02:00
dw-mipi-dsi.c drm/bridge: dw-mipi-dsi: Switch to atomic operations 2022-01-13 23:27:50 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00