]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Modify the link training policy
authorZhikai Zhai <zhikai.zhai@amd.com>
Tue, 29 Jul 2025 09:39:54 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 20:57:04 +0000 (16:57 -0400)
commit0bfcb56e8b074c9f013f357e799c446a9dbc1fad
tree55f8c08d728760c755946b4f06428efaf749c503
parent46fbe1e349b89eff48d6d8e87cfb6ffe955f75e9
drm/amd/display: Modify the link training policy

[Why&How]
Currently fallback to low link rate if the link training
fails once on USB4. It may cause the bandwidth couldn't
satisfy the requirement of streams. Modify the policy
to do training retry in the previous few times, only
do fallback at the last time.

Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com>
Signed-off-by: Ray Wu <ray.wu@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/protocols/link_dp_training.c