]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: force toggle rate wa for first link training for a retimer
authorZhongwei <zhongwei.zhang@amd.com>
Wed, 8 Nov 2023 08:34:36 +0000 (16:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 23:05:38 +0000 (18:05 -0500)
commiteb28018943fed7639dfea1c9ec9c756ec692b99a
treed039e72a0697b931b19528f8b5f9b6daf48ea5c8
parentc6df7f313794c3ad41a49b9a7c95da369db607f3
drm/amd/display: force toggle rate wa for first link training for a retimer

[WHY]
Handover from DMUB to driver does not perform link rate toggle.
It might cause link training failure for boot up.

[HOW]
Force toggle rate wa for first link train.
link->vendor_specific_lttpr_link_rate_wa should be zero then.

Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Michael Strauss <michael.strauss@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Zhongwei <zhongwei.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_fixed_vs_pe_retimer.c