drm/amd/display: Avoid trying AUX transactions on disconnected ports
authorWayne Lin <Wayne.Lin@amd.com>
Tue, 13 May 2025 08:06:50 +0000 (16:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:35:34 +0000 (15:35 -0400)
commitdeb24e64c8881c462b29e2c69afd9e6669058be5
tree313b9c7bfc172924886ef6cbd4f15a01bcceb4d2
parent8ade4736075a83d92e6cb87dc89c114760460994
drm/amd/display: Avoid trying AUX transactions on disconnected ports

[Why & How]
Observe that we try to access DPCD 0x600h of disconnected DP ports.
In order not to wasting time on retrying these ports, call
dpcd_write_rx_power_ctrl() after checking its connection status.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_dpms.c