OSDN Git Service

drm/bridge: synopsys: dw-hdmi: also allow interlace on bridge
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 14 Oct 2021 15:26:03 +0000 (17:26 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 15 Oct 2021 07:59:14 +0000 (09:59 +0200)
Since we allow interlace on the encoder, also allow it on the bridge
so we can allow interlaced modes when using DRM_BRIDGE_ATTACH_NO_CONNECTOR.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014152606.2289528-5-narmstrong@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

index f08d0fd..62ae635 100644 (file)
@@ -3413,6 +3413,7 @@ struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev,
        hdmi->bridge.funcs = &dw_hdmi_bridge_funcs;
        hdmi->bridge.ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID
                         | DRM_BRIDGE_OP_HPD;
+       hdmi->bridge.interlace_allowed = true;
 #ifdef CONFIG_OF
        hdmi->bridge.of_node = pdev->dev.of_node;
 #endif