[PATCH v10 14/22] drm/bridge: dw-hdmi-qp: Use common HDMI output bus fmts helper

Nicolas Frattaroli posted 22 patches 1 week, 6 days ago
[PATCH v10 14/22] drm/bridge: dw-hdmi-qp: Use common HDMI output bus fmts helper
Posted by Nicolas Frattaroli 1 week, 6 days ago
Make use of the common drm_bridge_funcs.atomic_get_output_bus_fmts
helper for HDMI bridge connectors.

This allows dw-hdmi-qp HDMI bridges to participate in recursive bus
format selection in a meaningful way.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
---
 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 d649a1cf07f5..5380aa7d82a8 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
@@ -1192,6 +1192,7 @@ static int dw_hdmi_qp_cec_transmit(struct drm_bridge *bridge, u8 attempts,
 #endif /* CONFIG_DRM_DW_HDMI_QP_CEC */
 
 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_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
 	.atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
 	.atomic_reset = drm_atomic_helper_bridge_reset,

-- 
2.53.0
Re: [PATCH v10 14/22] drm/bridge: dw-hdmi-qp: Use common HDMI output bus fmts helper
Posted by Cristian Ciocaltea 1 week, 5 days ago
On 3/5/26 4:19 PM, Nicolas Frattaroli wrote:
> Make use of the common drm_bridge_funcs.atomic_get_output_bus_fmts
> helper for HDMI bridge connectors.
> 
> This allows dw-hdmi-qp HDMI bridges to participate in recursive bus
> format selection in a meaningful way.
> 
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>

Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>