diff options
| author | Ayushi Makhija <[email protected]> | 2025-05-05 09:42:44 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2025-05-05 14:23:34 +0000 |
| commit | 366ca0bcc953a4a8a9c9ce2133e6843730210049 (patch) | |
| tree | bcd55a1c04635bfae39520df2fdfb1189a5a6d6d /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/bridge: anx7625: fix drm_bridge ops flags to support hot-plugging (diff) | |
| download | kernel-366ca0bcc953a4a8a9c9ce2133e6843730210049.tar.gz kernel-366ca0bcc953a4a8a9c9ce2133e6843730210049.zip | |
drm/bridge: anx7625: fix anx7625_sink_detect() to return correct hpd status
In the anx7625_sink_detect(), the device is checked to see
if it is a panel bridge, and it always sends a "connected"
status to the connector. When adding the DP port on port 1 of the
anx7625, it incorrectly treats it as a panel bridge and sends an
always "connected" status. Instead of checking the status on the
panel bridge, it's better to check the hpd_status for connectors
that supports hot-plugging. This way, it verifies the hpd_status
variable before sending the status to the connector.
In case of eDP, anx7625_bridge_detect() will not get called because
the bridge->ops condition in anx7625_link_bridge() will not be
satisfied. Since anx7625_sink_detect() is called from
anx7625_bridge_detect(), this results in the sink_detect logic not
being executed for eDP.
Signed-off-by: Ayushi Makhija <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
