linux-loongson/drivers/gpu/drm/bridge/synopsys
Andy Yan 5d156a9c3d drm/bridge: Pass down connector to drm bridge detect hook
In some application scenarios, we hope to get the corresponding
connector when the bridge's detect hook is invoked.

In most cases, we can get the connector by drm_atomic_get_connector_for_encoder
if the encoder attached to the bridge is enabled, however there will
still be some scenarios where the detect hook of the bridge is called
but the corresponding encoder has not been enabled yet. For instance,
this occurs when the device is hot plug in for the first time.

Since the call to bridge's detect is initiated by the connector, passing
down the corresponding connector directly will make things simpler.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250703125027.311109-3-andyshrk@163.com
[DB: added the chunk to the cdn-dp driver]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-07-14 18:23:18 +03:00
..
dw-hdmi-ahb-audio.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
dw-hdmi-audio.h drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:05:45 +01:00
dw-hdmi-cec.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
dw-hdmi-cec.h
dw-hdmi-gp-audio.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
dw-hdmi-i2s-audio.c ASoC: hdmi-codec: pass data to get_dai_id too 2025-01-04 08:47:10 +02:00
dw-hdmi-qp.c drm/bridge: Pass down connector to drm bridge detect hook 2025-07-14 18:23:18 +03:00
dw-hdmi-qp.h drm/bridge: synopsys: Fix Copyright Writing Style of dw-hdmi-qp 2024-12-19 11:09:35 +01:00
dw-hdmi.c drm/bridge: Pass down connector to drm bridge detect hook 2025-07-14 18:23:18 +03:00
dw-hdmi.h drm: bridge: dw_hdmi: Audio: Add General Parallel Audio (GPA) driver 2022-04-19 18:23:48 +02:00
dw-mipi-dsi2.c drm/bridge: Include <linux/export.h> 2025-06-16 09:02:25 +02:00
dw-mipi-dsi.c drm/bridge: Include <linux/export.h> 2025-06-16 09:02:25 +02:00
Kconfig drm/bridge/synopsys: Add MIPI DSI2 host controller bridge 2024-12-10 23:53:04 +01:00
Makefile drm/bridge/synopsys: Add MIPI DSI2 host controller bridge 2024-12-10 23:53:04 +01:00