]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:24 +0000 (16:28 +0200)
commit39de3ce65635531d2c3ae5d542630840c55dfb22
treebd6d87288d006572a6ff141022c36ded8f1cb0a7
parentd02ee5eebbcf23b959d07fcd124fe95ec690cdcf
drm/amd/display: Avoid trying AUX transactions on disconnected ports

[ Upstream commit deb24e64c8881c462b29e2c69afd9e6669058be5 ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/link/link_dpms.c