drm/amd/display: Add a Precise Delay Routine
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Wed, 2 Oct 2024 19:47:10 +0000 (15:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 21:50:38 +0000 (17:50 -0400)
commit6c5bb04858105f3ad346bf4af5617ae6c9ea0085
treeaeedd055e49443212eaa8072707c32f2dbc5ce50
parent02706006928cdcfa82f3d09cb7575920cf871b95
drm/amd/display: Add a Precise Delay Routine

Fix DP compliance failures 4.2.2.12, 4.3.1.21, 4.9.1.19
caused by imprecise delay on fsleep().

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@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/protocols/link_dp_training.c