9e4ba2a75acb31faa6404822e2c98fea3e3b8971
[openwrt/staging/pepe2k.git] /
1 From 7d294fbff4863e53a64685335b30aed9604cae49 Mon Sep 17 00:00:00 2001
2 From: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
3 Date: Tue, 19 Nov 2024 16:11:32 +0000
4 Subject: [PATCH] drm: bridge: panel: Connector to allow interlaced modes
5
6 When initialized from panel_bridge_attach(), connector should
7 allow interlaced modes rather than invariably rejecting them,
8 so that other components can validate them.
9
10 Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
11 ---
12 drivers/gpu/drm/bridge/panel.c | 2 ++
13 1 file changed, 2 insertions(+)
14
15 --- a/drivers/gpu/drm/bridge/panel.c
16 +++ b/drivers/gpu/drm/bridge/panel.c
17 @@ -82,6 +82,8 @@ static int panel_bridge_attach(struct dr
18 return ret;
19 }
20
21 + connector->interlace_allowed = true;
22 +
23 drm_panel_bridge_set_orientation(connector, bridge);
24
25 drm_connector_attach_encoder(&panel_bridge->connector,