linux/drivers/gpu/drm/msm/dp
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
..
dp_audio.c drm/bridge: Make dp/hdmi_audio_* callback keep the same paramter order with get_modes 2025-07-14 18:23:18 +03:00
dp_audio.h drm/bridge: Make dp/hdmi_audio_* callback keep the same paramter order with get_modes 2025-07-14 18:23:18 +03:00
dp_aux.c drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_aux.h drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_ctrl.c drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_ctrl.h drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_debug.c drm/msm: make it possible to disable KMS-related code. 2025-07-05 07:13:35 -07:00
dp_debug.h
dp_display.c drm/msm: move KMS driver data to msm_kms 2025-07-05 07:13:35 -07:00
dp_display.h drm/msm/dp: reuse generic HDMI codec implementation 2025-05-02 03:54:03 +03:00
dp_drm.c drm/bridge: Pass down connector to drm bridge detect hook 2025-07-14 18:23:18 +03:00
dp_drm.h drm/bridge: Pass full state to atomic_post_disable 2025-02-19 16:59:13 +01:00
dp_link.c drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_link.h drm/msm/dp: Prepare for link training per-segment for LTTPRs 2025-05-12 19:18:49 +03:00
dp_panel.c drm/msm/dp: add linux/io.h header to fix build errors 2025-07-04 16:35:41 +03:00
dp_panel.h drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_reg.h drm/msm/dp: drop the msm_dp_catalog module 2025-07-04 16:35:19 +03:00
dp_utils.c
dp_utils.h