OpenCloudOS-Kernel/drivers/gpu/drm/bridge
John Keeping e3ea1806e4 drm/bridge: panel: Set orientation on panel_bridge connector
Commit 15b9ca1641 ("drm: Config orientation property if panel provides
it") added a helper to set the panel orientation early but only
connected this for drm_bridge_connector, which constructs a panel bridge
with DRM_BRIDGE_ATTACH_NO_CONNECTOR and creates the connector itself.

When the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag is not specified and the
panel_bridge creates its own connector the orientation is not set unless
the panel does it in .get_modes which is too late and leads to a warning
splat from __drm_mode_object_add() because the device is already
registered.

Call the necessary function to set add the orientation property when the
connector is created so that it is available before the device is
registered.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230120114313.2087015-1-john@metanate.com
2023-02-06 16:50:57 -08:00
..
adv7511 drm/bridge: adv7511: Convert to i2c's .probe_new() 2022-12-12 17:17:42 +01:00
analogix drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
cadence drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
imx drm: Remove linux/i2c.h from drm_crtc.h 2022-07-05 21:15:23 +03:00
synopsys drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420 2022-12-01 09:24:04 +01:00
Kconfig drm/bridge: Kconfig: fix a spelling mistake 2023-01-26 09:08:17 +01:00
Makefile drm/bridge: cdns-dsi: Move to drm/bridge/cadence 2023-01-17 17:57:34 +02:00
chipone-icn6211.c drm/bridge: icn6211: Convert to i2c's .probe_new() 2022-12-09 10:32:54 +01:00
chrontel-ch7033.c drm/bridge: chrontel-ch7033: Convert to i2c's .probe_new() 2022-12-08 17:21:35 +01:00
cros-ec-anx7688.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
display-connector.c drm: Remove linux/media-bus-format.h from drm_crtc.h 2022-07-05 21:15:13 +03:00
fsl-ldb.c drm/bridge: fsl-ldb: Add i.MX93 LDB support 2023-01-23 09:46:38 +01:00
ite-it6505.c drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
ite-it66121.c drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
lontium-lt8912b.c drm/bridge: lt8912b: Convert to i2c's .probe_new() 2022-12-09 10:32:55 +01:00
lontium-lt9211.c drm/bridge: lt9211: Convert to i2c's .probe_new() 2022-12-09 10:32:55 +01:00
lontium-lt9611.c drm/bridge: lt9611: properly program the dual host mode 2023-01-18 15:27:10 +01:00
lontium-lt9611uxc.c drm/bridge: lt9611uxc: Convert to i2c's .probe_new() 2022-12-09 10:32:56 +01:00
lvds-codec.c drm/bridge: lvds-codec: Fix error checking of drm_of_lvds_get_data_mapping() 2022-08-29 17:30:32 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips: Convert to i2c's .probe_new() 2022-12-09 10:32:56 +01:00
nwl-dsi.c drm: Remove linux/media-bus-format.h from drm_crtc.h 2022-07-05 21:15:13 +03:00
nwl-dsi.h drm/bridge: Add NWL MIPI DSI host controller support 2020-04-09 15:52:47 +02:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: Convert to i2c's .probe_new() 2022-12-09 10:32:56 +01:00
panel.c drm/bridge: panel: Set orientation on panel_bridge connector 2023-02-06 16:50:57 -08:00
parade-ps8622.c drm/bridge: parade-ps8622: Convert to i2c's .probe_new() 2022-12-12 17:17:46 +01:00
parade-ps8640.c drm/bridge: ps8640: Use atomic variants of drm_bridge_funcs 2022-12-08 09:56:56 +01:00
sii902x.c drm/bridge: sii902x: Use dev_err_probe 2023-01-19 08:41:41 +01:00
sii9234.c drm/bridge: sii9234: Convert to i2c's .probe_new() 2022-12-09 10:32:57 +01:00
sil-sii8620.c drm/bridge: sii8620: Convert to i2c's .probe_new() 2022-12-09 10:32:57 +01:00
sil-sii8620.h
simple-bridge.c drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
tc358762.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
tc358764.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
tc358767.c drm/bridge: tc358767: Set default CLRSIPO count 2023-01-16 13:47:30 +01:00
tc358768.c drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
tc358775.c drm/bridge: Remove unnecessary include statements for drm_crtc_helper.h 2023-01-18 09:25:31 +01:00
thc63lvd1024.c drm/bridge: thc63lvd1024: Fix regulator_get_optional() misuse 2021-01-05 07:19:48 +02:00
ti-dlpc3433.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ti-sn65dsi83.c drm/bridge: ti-sn65dsi83: Convert to i2c's .probe_new() 2022-12-12 17:17:49 +01:00
ti-sn65dsi86.c drm-misc-next for v6.3: 2023-01-04 14:59:25 +01:00
ti-tfp410.c drm/bridge: tfp410: Convert to i2c's .probe_new() 2022-12-09 10:32:59 +01:00
ti-tpd12s015.c drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe 2020-11-05 22:09:09 +01:00