1
0
Fork 0
android_kernel_rockchip_tart/drivers/gpu
dvab-sarma 5ba93ec015 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-12-04 18:04:43 -06:00
..
drm drm/bridge: Pass down connector to drm bridge detect hook 2025-12-04 18:04:43 -06:00
host1x can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
ipu-v3 can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
nova-core can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
trace can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
vga can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00
Makefile can be used for AOSP 15 & 16 2025-06-27 00:32:42 -05:00