From: Joachim Eastwood <[email protected]>

Propagate the output format to the input, so the negotiated format is
available no matter what follows the bridge. There is no functional
change when dw-hdmi-qp is the last bridge, as the glue already uses the
output format in that case.

Signed-off-by: Joachim Eastwood <[email protected]>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c 
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
index 9842209288369..eed249aca1e23 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
@@ -1026,6 +1026,7 @@ static void dw_hdmi_qp_bridge_hpd_disable(struct 
drm_bridge *bridge)
 
 static const struct drm_bridge_funcs dw_hdmi_qp_bridge_funcs = {
        .atomic_get_output_bus_fmts = 
drm_atomic_helper_bridge_get_hdmi_output_bus_fmts,
+       .atomic_get_input_bus_fmts = drm_atomic_helper_bridge_propagate_bus_fmt,
        .atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
        .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
        .atomic_create_state = drm_atomic_helper_bridge_create_state,

-- 
2.56.0


Reply via email to