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 21:49:01 +0000 (16:49 -0500)
commit5a9a2cc8ae1889c4002850b00fd4fd9691dfac4e
tree6b8825368d4001ba782fb72f8cff39910194eebd
parentf4233efedf75572e49efd08202b1a07196949b4a
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