linux-loongson/drivers/gpu/drm/bridge/cadence
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
..
cdns-dsi-core.c drm/bridge: cdns-dsi: Use pre_enable/post_disable to enable/disable 2025-06-06 14:24:57 +02:00
cdns-dsi-core.h drm/bridge: cdns-dsi: Move to devm_drm_of_get_bridge() 2025-03-30 19:47:12 +03:00
cdns-dsi-j721e.c drm/bridge: cdns-dsi: Add support for J721E wrapper 2023-01-17 17:57:34 +02:00
cdns-dsi-j721e.h drm/bridge: cdns-dsi: Add support for J721E wrapper 2023-01-17 17:57:34 +02:00
cdns-mhdp8546-core.c drm/bridge: Pass down connector to drm bridge detect hook 2025-07-14 18:23:18 +03:00
cdns-mhdp8546-core.h drm/bridge: mhdp8546: Set input_bus_flags from atomic_check 2023-07-10 14:21:12 +02:00
cdns-mhdp8546-hdcp.c drm/bridge: cdns-mhdp8546: Remove unused functions 2024-11-11 17:31:56 +01:00
cdns-mhdp8546-hdcp.h drm/bridge: cdns-mhdp8546: Remove unused functions 2024-11-11 17:31:56 +01:00
cdns-mhdp8546-j721e.c drm/bridge: mhdp8546: Set input_bus_flags from atomic_check 2023-07-10 14:21:12 +02:00
cdns-mhdp8546-j721e.h drm/bridge: mhdp8546: Set input_bus_flags from atomic_check 2023-07-10 14:21:12 +02:00
Kconfig Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
Makefile drm/bridge: cdns-dsi: Add support for J721E wrapper 2023-01-17 17:57:34 +02:00